Skip to content

Commit

Permalink
Merge pull request #237 from hligit/dockerfile-arg-envvar-default-value
Browse files Browse the repository at this point in the history
Dockerfile: Set default value for buildarg ENVVAR
  • Loading branch information
hligit authored Mar 19, 2024
2 parents 08ade33 + 573a4fe commit e6108c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=$BUILDPLATFORM golang:1.20 as builder
ARG TARGETPLATFORM
ARG ENVVAR
ARG ENVVAR=CGO_ENABLED=0
WORKDIR /go/src/github.com/atlassian/escalator/
COPY go.mod go.sum Makefile ./
COPY cmd cmd
Expand Down

0 comments on commit e6108c5

Please sign in to comment.