Skip to content

Commit

Permalink
compose: adds local Dockerfile for build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrestc committed May 2, 2018
1 parent a1cd3db commit 178c380
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile.build
@@ -0,0 +1,3 @@
FROM golang:alpine

RUN apk add gcc musl-dev --no-cache
3 changes: 2 additions & 1 deletion build-compose.sh
Expand Up @@ -18,8 +18,9 @@ then
fi
fi

if [[ ! $(docker images -q tsuru-build) ]]; then docker build -t tsuru-build -f Dockerfile.build .; fi;

BUILD_IMAGE='tsuru/alpine-go:latest'
BUILD_IMAGE='tsuru-build'

LOCAL_PKG=${GOPATH}'/pkg/linux_amd64'
CONTAINER_PKG='/go/pkg/linux_amd64'
Expand Down

0 comments on commit 178c380

Please sign in to comment.