-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from cyber-dojo/update-base-image
Update base image to nginx:stable-alpine3.19
- Loading branch information
Showing
2 changed files
with
1 addition
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
# This file specifies snyk vulnerabilities to be ignored. | ||
# If this file contains only comments, then no vulnerabilities are ignored | ||
# but do not delete this file - it is needed for the live-snyk-scans repo workflows. | ||
|
||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. | ||
version: v1.25.0 | ||
# ignores vulnerabilities until expiry date; change duration by modifying expiry date | ||
ignore: | ||
SNYK-ALPINE319-BUSYBOX-6913413: | ||
- '*': | ||
reason: Waiting for base image upgrade | ||
expires: 2024-07-01T15:48:22.212Z | ||
created: 2024-05-19T15:48:22.228Z | ||
|
||
patch: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG BASE_IMAGE=nginx:stable-alpine3.17 | ||
ARG BASE_IMAGE=nginx:stable-alpine3.19 | ||
FROM ${BASE_IMAGE} | ||
LABEL [email protected] | ||
|
||
|
@@ -8,7 +8,6 @@ RUN apk add tini | |
RUN apk add bash | ||
|
||
RUN apk upgrade | ||
RUN apk add libexpat=2.6.2-r0 # https://security.snyk.io/vuln/SNYK-ALPINE319-EXPAT-6241038 | ||
|
||
RUN rm -rf ${NGINX_DIR} | ||
COPY images ${NGINX_DIR}/images | ||
|