Fix unsafe repository error (#65)

Mark the repository as safe.

It should be ok to do so in the action context because the vulnerability affects "multi-user shared machines" and this is a single-user Docker image. Details of why this is needed CVE-2022-24765: https://github.blog/2022-04-12-git-security-vulnerability-announced/

I will keep monitoring if there could be any problems and get in touch in you have more information.
This commit is contained in:
Carles Pina Estany
2022-04-13 10:17:12 +02:00
committed by GitHub
parent 483689a71c
commit ac0bb2c8f9
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
FROM alpine:latest
RUN apk add --no-cache git
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main git
COPY entrypoint.sh /entrypoint.sh