docker build instead of virtual machine
							parent
							
								
									8eb89d3657
								
							
						
					
					
						commit
						faa9ec9330
					
				| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
					 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					@ -1,4 +0,0 @@
 | 
				
			||||||
#! /usr/bin/env sh
 | 
					 | 
				
			||||||
apt-get install -y \
 | 
					 | 
				
			||||||
  clang \
 | 
					 | 
				
			||||||
  yasm
 | 
					 | 
				
			||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
		Reference in New Issue