Skip to content

Commit 048aa10

Browse files
GenPageijames-gc
authored andcommitted
ci: fix pipefail in golang builder image (runatlantis#3294)
* ci: fix pipefail in golang builder image * fix: curl version
1 parent b2be7cd commit 048aa10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ WORKDIR /app
1919
# This is needed to download transitive dependencies instead of compiling them
2020
# https://github.com/montanaflynn/golang-docker-cache
2121
# https://github.com/golang/go/issues/27719
22+
RUN apk add --no-cache \
23+
bash~=5.2
2224
COPY go.mod go.sum ./
2325
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
2426
RUN go mod graph | awk '{if ($1 !~ "@") print $2}' | xargs go get
@@ -163,7 +165,7 @@ RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/ma
163165
git~=2.40 && \
164166
apk add --no-cache \
165167
ca-certificates~=20220614 \
166-
curl~=7.87 \
168+
curl~=7.88 \
167169
unzip~=6.0 \
168170
bash~=5.2 \
169171
openssh~=9.1_p1 \

0 commit comments

Comments
 (0)