Skip to content

Commit 31f1be4

Browse files
committed
fix(dockerimage): make docker image to install newest pkgs for security vuls
1 parent 13e056d commit 31f1be4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

backwork/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ LABEL maintainer="[email protected]"
44
# Install database clients
55
# Apply security patches
66
# hadolint ignore=DL3018
7-
RUN echo 'http://dl-3.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories \
8-
&& echo 'http://dl-3.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories \
9-
&& apk add --no-cache \
7+
RUN apk -U upgrade \
8+
&& apk add --upgrade --no-cache \
109
bash \
1110
curl \
1211
libressl \
@@ -15,7 +14,6 @@ RUN echo 'http://dl-3.alpinelinux.org/alpine/edge/community' >> /etc/apk/reposit
1514
mysql \
1615
postgresql \
1716
tini \
18-
&& apk add --upgrade --no-cache \
1917
db \
2018
expat \
2119
freetype \

0 commit comments

Comments
 (0)