File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed
Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1- FROM dunglas/frankenphp AS base
1+ FROM dunglas/frankenphp:1.9.1-php8.4.15-trixie AS base
22
33RUN apt-get update \
44 && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
@@ -8,7 +8,9 @@ RUN apt-get update \
88 libpq-dev \
99 aspell \
1010 aspell-en \
11- supervisor
11+ supervisor \
12+ && apt-get clean \
13+ && rm -rf /var/lib/apt/lists/*
1214
1315RUN install-php-extensions \
1416 gd \
Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v6
14+ - uses : hadolint/hadolint-action@v3.1.0
15+ with :
16+ dockerfile : .docker/php/Dockerfile
17+ config : ./hadolint.yaml
18+ recursive : true
1419
1520 - name : Setup PHP with Xdebug
1621 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change @@ -81,5 +81,6 @@ restart:
8181 @docker restart php.${APP_NAMESPACE}
8282expand-server :
8383 ansible-playbook -i ansible/inventory.ini ansible/playbooks/expand_environment.yml
84-
85-
84+ docker-lint :
85+ docker run --rm -i -v ./hadolint.yaml:/.config/hadolint.yaml hadolint/hadolint < .docker/php/Dockerfile
86+ docker run --rm -i -v ./hadolint.yaml:/.config/hadolint.yaml hadolint/hadolint < .docker/centrifugo/Dockerfile
Original file line number Diff line number Diff line change 1+ ---
2+ ignored :
3+ - DL3008
Original file line number Diff line number Diff line change 1515 " websocket" ,
1616 " favicon" ,
1717 " nginx" ,
18- " ansible"
18+ " ansible" ,
19+ " hadolint"
1920 ],
2021 "paths" : [
2122 " /public/vendor" ,
You can’t perform that action at this time.
0 commit comments