This commit is contained in:
Joe Testa 2024-12-14 03:16:15 -08:00 committed by GitHub
commit bfbd69fda2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -23,4 +23,8 @@ FROM scratch
LABEL maintainer="Vidar Holen <vidar@vidarholen.net>" LABEL maintainer="Vidar Holen <vidar@vidarholen.net>"
WORKDIR /mnt WORKDIR /mnt
COPY --from=alpine /bin/shellcheck /bin/ COPY --from=alpine /bin/shellcheck /bin/
# Drop root privileges.
USER 65535:65535
ENTRYPOINT ["/bin/shellcheck"] ENTRYPOINT ["/bin/shellcheck"]