mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-13 22:51:31 +01:00
Name each image by the cross-compiler target.
Docker tags then can be used for multiple versions per target.
This commit is contained in:
parent
4c1d8b361a
commit
70dc9549da
@ -1,5 +1,5 @@
|
|||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
MAINTAINER Steeve Morin "steeve.morin@gmail.com"
|
MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install \
|
RUN apt-get update && apt-get -y install \
|
||||||
bash \
|
bash \
|
||||||
|
20
Makefile
20
Makefile
@ -1,32 +1,32 @@
|
|||||||
DOCKER = docker
|
DOCKER = docker
|
||||||
IMAGE = rburns/cross-compiler
|
IMAGE = thewtex/cross-compilers
|
||||||
|
|
||||||
android-arm:
|
android-arm:
|
||||||
$(DOCKER) build -t $(IMAGE):android-arm linux-arm
|
$(DOCKER) build -t $(IMAGE)-android-arm linux-arm
|
||||||
|
|
||||||
darwin-x64:
|
darwin-x64:
|
||||||
$(DOCKER) build -t $(IMAGE):darwin-x64 darwin-x64
|
$(DOCKER) build -t $(IMAGE)-darwin-x64 darwin-x64
|
||||||
|
|
||||||
linux-x86:
|
linux-x86:
|
||||||
$(DOCKER) build -t $(IMAGE):darwin-x86 darwin-x86
|
$(DOCKER) build -t $(IMAGE)-darwin-x86 darwin-x86
|
||||||
|
|
||||||
linux-x64:
|
linux-x64:
|
||||||
$(DOCKER) build -t $(IMAGE):linux-x64 linux-x64
|
$(DOCKER) build -t $(IMAGE)-linux-x64 linux-x64
|
||||||
|
|
||||||
linux-armv6:
|
linux-armv6:
|
||||||
$(DOCKER) build -t $(IMAGE):linux-armv6 linux-armv6
|
$(DOCKER) build -t $(IMAGE)-linux-armv6 linux-armv6
|
||||||
|
|
||||||
linux-armv7:
|
linux-armv7:
|
||||||
$(DOCKER) build -t $(IMAGE):linux-armv7 linux-armv7
|
$(DOCKER) build -t $(IMAGE)-linux-armv7 linux-armv7
|
||||||
|
|
||||||
windows-x86:
|
windows-x86:
|
||||||
$(DOCKER) build -t $(IMAGE):windows-x86 windows-x86
|
$(DOCKER) build -t $(IMAGE)-windows-x86 windows-x86
|
||||||
|
|
||||||
windows-x64:
|
windows-x64:
|
||||||
$(DOCKER) build -t $(IMAGE):windows-x64 windows-x64
|
$(DOCKER) build -t $(IMAGE)-windows-x64 windows-x64
|
||||||
|
|
||||||
base:
|
base:
|
||||||
$(DOCKER) build -t $(IMAGE):base .
|
$(DOCKER) build -t $(IMAGE)-base .
|
||||||
|
|
||||||
all: base android-arm darwin-x64 linux-x86 linux-x64 linux-armv6 linux-armv7 windows-x86 windows-x64
|
all: base android-arm darwin-x64 linux-x86 linux-x64 linux-armv6 linux-armv7 windows-x86 windows-x64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user