Last active
June 8, 2018 14:04
-
-
Save gregohardy/2e5713d7669fc003f55faff5365c18d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build-docker-linux: OS_TYPE = linux | |
build-docker-linux: build-docker | |
build-docker: | |
@if [ -z "$(IMAGE)" ];then\ | |
docker build -t $(DOCKER_IMAGE) --build-arg targetos=$(OS_TYPE) .;\ | |
else\ | |
docker build -t $(IMAGE) --build-arg targetos=$(OS_TYPE) .;\ | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can never remember the syntax. Hope this helps...