Skip to content

Commit 7cb0e48

Browse files
Compile with docker by default
1 parent 1512072 commit 7cb0e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/dockerized

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if [ "$DOCKERIZED_COMPILE" ] || [ ! -f "$DOCKERIZED_BINARY" ]; then
6666
GIT_COMMIT=$(cd $DOCKERIZED_ROOT; git rev-list -1 HEAD)
6767
GO_BUILD_ARGS="-ldflags '-X main.Version=${GIT_COMMIT}'"
6868
GO_LDFLAGS="-X main.Version=${GIT_COMMIT}"
69-
if [ "$DOCKERIZED_COMPILE" == "docker" ]; then
69+
if [ "${DOCKERIZED_COMPILE:-docker}" == "docker" ]; then
7070
docker run \
7171
--rm \
7272
--entrypoint=go \

0 commit comments

Comments
 (0)