Skip to content

Commit 78766d9

Browse files
authored
Add apk upgrade to upstream builder
This will ensure the latest packages are used
1 parent 4591895 commit 78766d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

upstream.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM golang:1.12-alpine as builder
22
LABEL stage=builder
33
WORKDIR /build
44

5-
RUN apk update && apk add bash make git mercurial jq
5+
RUN apk update && apk add bash make git mercurial jq && apk upgrade
66

77
# copy just enough of the git repo to parse HEAD, used to record version in OLM binaries
88
COPY .git/HEAD .git/HEAD
@@ -26,4 +26,4 @@ COPY --from=builder /build/bin/catalog /bin/catalog
2626
COPY --from=builder /build/bin/package-server /bin/package-server
2727
EXPOSE 8080
2828
EXPOSE 5443
29-
CMD ["/bin/olm"]
29+
CMD ["/bin/olm"]

0 commit comments

Comments
 (0)