Fix linting issues in alpine Dockerfiles

This commit is contained in:
Markus Opolka
2023-06-09 12:19:04 +02:00
parent 0c28e5bbf9
commit 6d3bc51ebc
3 changed files with 8 additions and 11 deletions

View File

@@ -5,7 +5,6 @@ LABEL maintainer="markus@martialblog.de"
RUN apk add --no-cache netcat-openbsd bash
# Install PHP Plugins
# hadolint ignore=DL3019
RUN set -ex; \
apk add --no-cache --virtual .build-deps \
freetype-dev \
@@ -43,8 +42,8 @@ RUN set -ex; \
| sort -u \
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
)"; \
apk add --no-network --virtual .limesurvey-phpext-rundeps $runDeps; \
apk del --no-network .build-deps
apk add --no-cache --no-network --virtual .limesurvey-phpext-rundeps "${runDeps}"; \
apk del --no-cache --no-network .build-deps
ARG version="6.0.7+230515"
ARG sha256_checksum="de13467a4963d9759bd24300b5bd5b07f3149b0a62943180afaadfbd0513fef7"