-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
37 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
|
||
*.log |
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 |
---|---|---|
@@ -1,5 +1,15 @@ | ||
#!/bin/bash | ||
#!/bin/bash -e | ||
|
||
source config.sh | ||
|
||
docker build -t ${image_name}:${version} . | ||
|
||
# hack: comment the ENTRYPOINT and CMD lines to make it work for cromwell | ||
# this will generate `Dockerfile.cromwell` and build it under the name `cromwell-${image_name}:${version}` | ||
# https://github.com/broadinstitute/cromwell/issues/2461 | ||
cat Dockerfile \ | ||
| sed 's/^ENTRYPOINT \[/# ENTRYPOINT \[/g' \ | ||
| sed 's/^CMD \[/# CMD \[/g' > Dockerfile.cromwell | ||
|
||
# build it | ||
docker build -t cromwell-${image_name}:${version} -f Dockerfile.cromwell . |
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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
version="2.4" | ||
|
||
# docker related | ||
registry="583643567512.dkr.ecr.us-east-1.amazonaws.com" | ||
registry="quay.io/hisplan" | ||
image_name="pigz" | ||
|
||
# set this to 1 if you want to create a repository in AWS ECR | ||
# set this to 0 for Docker Hub | ||
create_ecr_repo=1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
#!/bin/bash -e | ||
|
||
source config.sh | ||
|
||
echo "${registry}/${image_name}:${version}" | ||
|
||
scing push --image=${registry}/${image_name}:${version} | ||
scing push --image=${registry}/cromwell-${image_name}:${version} |