Skip to content

Commit 42929f9

Browse files
authored
chore(docker)-install-latest-security-patches-when-building (#119)
Added package updates and runtime packages installation.
1 parent ba79e76 commit 42929f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ RUN rm -rf vendor/bundle/ruby/3.4.0/cache/*.gem && \
5454
##############################
5555
FROM ruby:$RUBY_VER-alpine
5656

57+
# Install package updates since image release
58+
RUN apk update && apk --no-cache --quiet upgrade
59+
5760
ARG RUNTIME_PACKAGES="libxml2 libxslt curl zlib libpq yaml tzdata"
5861
RUN apk add --no-cache $RUNTIME_PACKAGES
5962

0 commit comments

Comments
 (0)