Include shellcheck and shfmt

This commit is contained in:
Aleksandar Puharic 2024-05-20 22:55:08 +02:00
parent a24c5bd1a5
commit 333acce410
Signed by: xZero707
GPG Key ID: 3CC53DCAA9C237BB

View File

@ -4,6 +4,12 @@ FROM scratch AS rootfs
# Install composer # Install composer
COPY --from=composer:2.7 ["/usr/bin/composer", "/usr/local/bin/composer"] COPY --from=composer:2.7 ["/usr/bin/composer", "/usr/local/bin/composer"]
# Install shellcheck
COPY --from=koalaman/shellcheck:stable ["/bin/shellcheck", "/usr/local/bin/shellcheck"]
# Install shfmt
COPY --from=mvdan/shfmt:latest ["/bin/shfmt", "/usr/local/bin/shfmt"]
ARG WP_VERSION ARG WP_VERSION