diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96cd238..2ee1301 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Lint Dockerfile - uses: hadolint/hadolint-action@master - with: - dockerfile: Dockerfile - ignore: DL3007,DL3018 # Ignore using latest on mlocati/php-extension-installer & version in apk add + uses: hadolint/hadolint-action@v3.1.0 build: name: Docker build runs-on: ubuntu-latest diff --git a/Dockerfile b/Dockerfile index 007dfee..8e1adf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ # Builder images FROM composer/composer:2-bin AS composer +# hadolint ignore=DL3007 FROM mlocati/php-extension-installer:latest AS php_extension_installer # Build Caddy with the Mercure and Vulcain modules @@ -36,6 +37,7 @@ WORKDIR /srv/app COPY --from=php_extension_installer --link /usr/bin/install-php-extensions /usr/local/bin/ # persistent / runtime deps +# hadolint ignore=DL3018 RUN apk add --no-cache \ acl \ fcgi \