feat: add lint, build, test, push pipeline with SHA-pinned actions
- Split single build job into 4 jobs: lint, build, test, push - SHA-pin all actions for supply chain security - Use ChristopherHX artifact actions (Gitea-compatible) - Add tests/test.sh with Docker bridge gateway networking - Add hadolint ignore for apt/brace patterns
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FROM "php:8.3-apache"
|
||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||
|
||||
# hadolint ignore=DL3008,DL3015,SC3009
|
||||
RUN export DEBIAN_FRONTEND="noninteractive" && \
|
||||
sed -i'' 's/ServerSignature On/ServerSignature Off/; s/ServerTokens OS/ServerTokens Prod/' "/etc/apache2/conf-enabled/security.conf" && \
|
||||
sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \
|
||||
|
||||
Reference in New Issue
Block a user