Skip to content

Commit

Permalink
Upgrade base image and add entries to .snyk file
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Jan 17, 2024
1 parent 110bc33 commit 402fdd6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,19 @@ ignore:
reason: Waiting for base image upgrade
expires: 2024-03-01T15:48:22.212Z
created: 2024-01-12T15:48:22.228Z
SNYK-ALPINE319-OPENSSH-6131646:
- '*':
reason: Waiting for base image upgrade
expires: 2024-03-01T15:48:22.212Z
created: 2024-01-12T15:48:22.228Z
SNYK-ALPINE318-OPENSSL-6152404:
- '*':
reason: Waiting for base image upgrade
expires: 2024-03-01T15:48:22.212Z
created: 2024-01-12T15:48:22.228Z
SNYK-ALPINE319-OPENSSL-6159994:
- '*':
reason: Waiting for base image upgrade
expires: 2024-03-01T15:48:22.212Z
created: 2024-01-12T15:48:22.228Z
patch: {}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=docker:24.0.7-alpine3.18
ARG BASE_IMAGE=docker:24.0.7-alpine3.19
FROM ${BASE_IMAGE}
LABEL maintainer=jon@jaggersoft.com

Expand Down
13 changes: 13 additions & 0 deletions docs/snyk-notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

If you want to check a locally created docker image, eg
cyberdojo/docker-base:110bc33
the command to use is:

snyk container test cyberdojo/docker-base:110bc33 --file=Dockerfile --policy-path=.snyk

Note that it is NOT:

snyk container test cyberdojo/docker-base:110bc33 --file=Dockerfile --policy-file=.snyk

which will _silently_ ignore an unknown flag.
That's 30 minutes of my life gone right there.

0 comments on commit 402fdd6

Please sign in to comment.