-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: fix code style issue in script reported by codacy
- Loading branch information
1 parent
186e73a
commit 89a3a7f
Showing
1 changed file
with
14 additions
and
14 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,25 +1,25 @@ | ||
#! /bin/sh | ||
CMP_BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") | ||
echo $CMP_BUILD_DATE | ||
CMP_BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")" | ||
echo "$CMP_BUILD_DATE" | ||
|
||
VERSION=v$(python get_version.py) | ||
echo $VERSION | ||
VERSION="v$(python get_version.py)" | ||
echo "$VERSION" | ||
|
||
VCS_REF=$(git rev-parse --verify HEAD) | ||
echo $VCS_REF | ||
VCS_REF="$(git rev-parse --verify HEAD)" | ||
echo "$VCS_REF" | ||
|
||
MAIN_DOCKER="sebastientourbier/mialsuperresolutiontoolkit-ubuntu14.04:${VERSION}" | ||
echo $MAIN_DOCKER | ||
echo "$MAIN_DOCKER" | ||
|
||
docker build --rm --build-arg BUILD_DATE=$CMP_BUILD_DATE \ | ||
--build-arg VCS_REF=$VCS_REF \ | ||
--build-arg VERSION=$VERSION \ | ||
docker build --rm --build-arg BUILD_DATE="$CMP_BUILD_DATE" \ | ||
--build-arg VCS_REF="$VCS_REF" \ | ||
--build-arg VERSION="$VERSION" \ | ||
-t "${MAIN_DOCKER}" . \ | ||
|
||
JUPYTER_DOCKER="sebastientourbier/mialsuperresolutiontoolkit-jupyter:${VERSION}" | ||
|
||
docker build --rm --build-arg BUILD_DATE=$CMP_BUILD_DATE \ | ||
--build-arg VERSION=$VERSION \ | ||
--build-arg VCS_REF=$VCS_REF \ | ||
--build-arg MAIN_DOCKER=$MAIN_DOCKER \ | ||
docker build --rm --build-arg BUILD_DATE="$CMP_BUILD_DATE" \ | ||
--build-arg VERSION="$VERSION" \ | ||
--build-arg VCS_REF="$VCS_REF" \ | ||
--build-arg MAIN_DOCKER="$MAIN_DOCKER" \ | ||
-t "${JUPYTER_DOCKER}" ./docker/jupyter |