Skip to content

Commit

Permalink
Merge pull request #18 from cyber-dojo/update-base-image
Browse files Browse the repository at this point in the history
Update base image to nginx:stable-alpine3.19
  • Loading branch information
JonJagger authored May 21, 2024
2 parents 6e67ee2 + b43999a commit 81ac146
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
12 changes: 0 additions & 12 deletions .snyk
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: {}
3 changes: 1 addition & 2 deletions Dockerfile
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]

Expand All @@ -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
Expand Down

0 comments on commit 81ac146

Please sign in to comment.