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
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Lint Dockerfile
|
- name: Lint Dockerfile
|
||||||
uses: hadolint/hadolint-action@master
|
uses: hadolint/hadolint-action@v3.1.0
|
||||||
with:
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ignore: DL3007,DL3018 # Ignore using latest on mlocati/php-extension-installer & version in apk add
|
|
||||||
build:
|
build:
|
||||||
name: Docker build
|
name: Docker build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
# Builder images
|
# Builder images
|
||||||
FROM composer/composer:2-bin AS composer
|
FROM composer/composer:2-bin AS composer
|
||||||
|
|
||||||
|
# hadolint ignore=DL3007
|
||||||
FROM mlocati/php-extension-installer:latest AS php_extension_installer
|
FROM mlocati/php-extension-installer:latest AS php_extension_installer
|
||||||
|
|
||||||
# Build Caddy with the Mercure and Vulcain modules
|
# 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/
|
COPY --from=php_extension_installer --link /usr/bin/install-php-extensions /usr/local/bin/
|
||||||
|
|
||||||
# persistent / runtime deps
|
# persistent / runtime deps
|
||||||
|
# hadolint ignore=DL3018
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
acl \
|
acl \
|
||||||
fcgi \
|
fcgi \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user