Use base image, add Makefile, compress RUN statements to save on disk space

Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
This commit is contained in:
Steeve Morin
2014-10-17 13:42:56 +02:00
parent 2b82f22e0b
commit 703053871c
11 changed files with 93 additions and 58 deletions

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
PLATFORMS = base \
android-arm \
darwin-x64 \
linux-x86 \
linux-x64 \
linux-arm \
windows-x86 \
windows-x64
DOCKER = docker
IMAGE = steeve/cross-compiler
all:
for i in $(PLATFORMS); do \
$(DOCKER) build -t $(IMAGE):$$i $$i ; \
done