diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-06 15:14:54 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-06 15:14:54 +0100 |
commit | cc6a935ce54b573c1efd7533aff00e7bf0a9959c (patch) | |
tree | c8ad266edb7ea1e7b93aaaaa98847cf662373668 /security/nss/automation/taskcluster/scripts/build_image.sh | |
parent | d129c900c9f943adb69c1fb20ba1a029fdd95cff (diff) | |
parent | 9f4afc2552a67cc675b8b8af2ecb8ebc04a473a7 (diff) | |
download | UXP-cc6a935ce54b573c1efd7533aff00e7bf0a9959c.tar UXP-cc6a935ce54b573c1efd7533aff00e7bf0a9959c.tar.gz UXP-cc6a935ce54b573c1efd7533aff00e7bf0a9959c.tar.lz UXP-cc6a935ce54b573c1efd7533aff00e7bf0a9959c.tar.xz UXP-cc6a935ce54b573c1efd7533aff00e7bf0a9959c.zip |
Merge branch 'master' into Pale_Moon-release
# Conflicts:
# application/palemoon/components/feeds/FeedWriter.js
# application/palemoon/config/version.txt
# security/manager/ssl/nsSTSPreloadList.errors
# security/manager/ssl/nsSTSPreloadList.inc
Diffstat (limited to 'security/nss/automation/taskcluster/scripts/build_image.sh')
-rw-r--r-- | security/nss/automation/taskcluster/scripts/build_image.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/security/nss/automation/taskcluster/scripts/build_image.sh b/security/nss/automation/taskcluster/scripts/build_image.sh index b422214e7..b8715dbe9 100644 --- a/security/nss/automation/taskcluster/scripts/build_image.sh +++ b/security/nss/automation/taskcluster/scripts/build_image.sh @@ -13,12 +13,12 @@ raise_error() { test -n "$PROJECT" || raise_error "Project must be provided." test -n "$HASH" || raise_error "Context Hash must be provided." -CONTEXT_PATH=/home/worker/nss/$CONTEXT_PATH +CONTEXT_PATH="/home/worker/nss/$CONTEXT_PATH" -test -d $CONTEXT_PATH || raise_error "Context Path $CONTEXT_PATH does not exist." +test -d "$CONTEXT_PATH" || raise_error "Context Path $CONTEXT_PATH does not exist." test -f "$CONTEXT_PATH/Dockerfile" || raise_error "Dockerfile must be present in $CONTEXT_PATH." -docker build -t $PROJECT:$HASH $CONTEXT_PATH +docker build -t "$PROJECT:$HASH" "$CONTEXT_PATH" mkdir /artifacts -docker save $PROJECT:$HASH > /artifacts/image.tar +docker save "$PROJECT:$HASH" > /artifacts/image.tar |