Browse Source

docker build instead of virtual machine

master
JoYo 3 years ago
parent
commit
faa9ec9330
  1. 8
      Dockerfile
  2. 0
      README.mdown
  3. 6
      Vagrantfile
  4. 10
      docker-compose.yaml
  5. 4
      provision-ubuntu.sh
  6. 170
      waf-2.0.14
  7. 170
      waf.py

8
Dockerfile

@ -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

0
README.md → README.mdown

6
Vagrantfile

@ -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

@ -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

4
provision-ubuntu.sh

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

170
waf-2.0.14

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
Loading…
Cancel
Save