Created
May 15, 2023 06:31
-
-
Save grzegorz-rozycki/0a4907ae17ce117607c114fc08138c3c to your computer and use it in GitHub Desktop.
Dockerfile with local-php-security-checker
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
FROM alpine as builder | |
RUN apk update && apk upgrade && apk add --no-cache ca-certificates;\ | |
update-ca-certificates | |
FROM scratch | |
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | |
COPY ./local-php-security-checker /usr/local/bin/local-php-security-checker | |
WORKDIR "/app" | |
CMD ["/usr/local/bin/local-php-security-checker"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment