Skip to content

Commit c2b950d

Browse files
committed
build: update alpine packages in Docker image to address CVEs
1 parent 233c260 commit c2b950d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ RUN echo "$VERSION" > /version.txt && echo "$REVISION" > /revision.txt
4949
ARG USERNAME=steadybit
5050
ARG USER_UID=10000
5151

52-
RUN adduser -u $USER_UID -D $USERNAME
52+
RUN apk update && apk upgrade --no-cache && rm -rf /var/cache/apk/* && \
53+
adduser -u $USER_UID -D $USERNAME
5354

5455
USER $USER_UID
5556

0 commit comments

Comments
 (0)