ci: simplify Hadolint config

This commit is contained in:
Kévin Dunglas 2023-05-23 12:00:03 +02:00 committed by Maxime Helias
parent 8a28b071e5
commit cf30762990
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -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 \