docker build instead of virtual machine

master
JoYo 2019-02-17 21:05:54 +00:00
parent 8eb89d3657
commit faa9ec9330
7 changed files with 188 additions and 180 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM ubuntu:bionic
ENV DEBIAN_FRONTEND=noninteractive
ENV CXX clang++
RUN apt-get update && apt-get install -y \
clang \
llvm-dev \
yasm

6
Vagrantfile vendored
View File

@ -1,6 +0,0 @@
# -*- mode: ruby -*-
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.provision "shell", path: "provision-ubuntu.sh"
end

10
docker-compose.yaml Normal file
View File

@ -0,0 +1,10 @@
version: '3'
services:
sins_build:
image: sins_build
build:
context: .
volumes:
- ${PWD}:/app
working_dir: /app
command: python waf-2.0.14 configure build

View File

@ -1,4 +0,0 @@
#! /usr/bin/env sh
apt-get install -y \
clang \
yasm

170
waf-2.0.14 Normal file

File diff suppressed because one or more lines are too long

170
waf.py

File diff suppressed because one or more lines are too long