Skip to content

Commit

Permalink
[docker] refs #27 Change path to build 'vscode' image
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevYuniers committed Dec 27, 2018
1 parent 1951336 commit 3227da1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docker/images/dev-cli/hooks/build
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

echo "Build hook running"

ls ../../../gopath/src/github.com/skycoin/skycoin/

# Build :develop tag
docker build --build-arg BDATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg SCOMMIT=$SOURCE_COMMIT \
Expand All @@ -37,13 +35,13 @@ if [ "$CACHE_TAG" == "develop" ]; then
--build-arg BDATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg SCOMMIT=$SOURCE_COMMIT \
--build-arg VS_EXTENSIONS="ms-vscode.csharp Leopotam.csharpfixformat jchannon.csharpextensions k--kato.docomment formulahendry.dotnet" \
-f ../../../gopath/src/github.com/skycoin/skycoin/docker/images/dev-vscode/Dockerfile \
-f gopath/src/github.com/skycoin/skycoin/docker/images/dev-vscode/Dockerfile \
-t "$DOCKER_REPO:vscode" .

docker build --build-arg IMAGE_FROM="$DOCKER_REPO:dind" \
--build-arg BDATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg SCOMMIT=$SOURCE_COMMIT \
--build-arg VS_EXTENSIONS="ms-vscode.csharp Leopotam.csharpfixformat jchannon.csharpextensions k--kato.docomment formulahendry.dotnet" \
-f ../../../gopath/src/github.com/skycoin/skycoin/docker/images/dev-vscode/Dockerfile \
-f gopath/src/github.com/skycoin/skycoin/docker/images/dev-vscode/Dockerfile \
-t "$DOCKER_REPO:vscode-dind" .
fi

0 comments on commit 3227da1

Please sign in to comment.