Skip to content

Commit 8170148

Browse files
authored
Merge pull request #2437 from bcgov/2418-investigate-and-fix-critical-and-high-severity-security-secrets-issues-5
Add update/upgrade to make sure we get latest
2 parents a0eb700 + 73390f4 commit 8170148

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alcs-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ENV ENABLED_CONNECT_SRC=" 'self' http://localhost:* nrs.objectstore.gov.bc.ca"
5353
ENV MAINTENANCE_MODE="false"
5454

5555
# Update libxml2 to patch the security vulnerabilities
56-
RUN apk add --no-cache libxml2
56+
RUN apk update && apk add --no-cache libxml2 && apk upgrade --available
5757

5858
# When the container starts, replace the settings.json with values from environment variables
5959
ENTRYPOINT [ "./init.sh" ]

portal-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN chmod -R go+rwx /usr/share/nginx/html/assets
5050
ENV ENABLED_CONNECT_SRC=" 'self' http://localhost:* nrs.objectstore.gov.bc.ca"
5151

5252
# Update libxml2 to patch the security vulnerabilities
53-
RUN apk add --no-cache libxml2
53+
RUN apk update && apk add --no-cache libxml2 && apk upgrade --available
5454

5555
# When the container starts, replace the settings.json with values from environment variables
5656
ENTRYPOINT [ "./init.sh" ]

0 commit comments

Comments
 (0)