-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker] [skycoin] refs #1190 Adds build file for docker cloud
- Loading branch information
1 parent
d45b355
commit 40b9765
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
docker build -f $DOCKERFILE_PATH -t $IMAGE_NAME . | ||
docker build --build-arg=ARCH=arm --build-arg=GOARM= --build-arg=IMAGE_FROM="arm32v5/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v5 . | ||
docker build --build-arg=ARCH=arm --build-arg=GOARM=6 --build-arg=IMAGE_FROM="arm32v6/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v6 . | ||
docker build --build-arg=ARCH=arm --build-arg=GOARM=7 --build-arg=IMAGE_FROM="arm32v7/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm32v7 . | ||
docker build --build-arg=ARCH=arm64 --build-arg=IMAGE_FROM="arm64v8/alpine" -f $DOCKERFILE_PATH -t $IMAGE_NAME-arm64v8 . |