ci: simplify Hadolint config
This commit is contained in:
parent
8a28b071e5
commit
cf30762990
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user