Skip to content

Commit

Permalink
Merge pull request #351 from bobidle/alpine_add_apk_upgrade
Browse files Browse the repository at this point in the history
Add apk upgrade to Alpine based Docker image
  • Loading branch information
anindyatahsin authored Nov 21, 2023
2 parents 67c15ce + d4c7b1a commit ce32cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY --from=static-docker-source /usr/local/libexec/docker/cli-plugins/docker-bu
RUN addgroup -g 1000 -S cloudsdk && \
adduser -u 1000 -S cloudsdk -G cloudsdk
RUN if [ `uname -m` = 'x86_64' ]; then echo -n "x86_64" > /tmp/arch; else echo -n "arm" > /tmp/arch; fi;
RUN ARCH=`cat /tmp/arch` && apk --no-cache add \
RUN ARCH=`cat /tmp/arch` && apk --no-cache upgrade && apk --no-cache add \
curl \
python3 \
py3-crcmod \
Expand Down

0 comments on commit ce32cf6

Please sign in to comment.