fix: hadolint DL3018, remove quoted strings

This commit is contained in:
2026-06-08 20:21:37 -04:00
parent 5b9e243008
commit 21a8bd98ab
+4 -9
View File
@@ -1,16 +1,11 @@
FROM "alpine:3.23" FROM alpine:3.23
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>" LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
# hadolint ignore=DL3018
RUN apk add --no-cache mysql-client && \ RUN apk add --no-cache mysql-client && \
rm -rf "/usr/share/apk/keys" && \ rm -rf /usr/share/apk/keys && \
adduser -D muser adduser -D muser
# Add Tini USER muser
#ENV "TINI_VERSION" "v0.16.1"
#ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini"
#RUN chmod +x "/tini"
#ENTRYPOINT ["/tini", "--"]
USER "muser"
ENTRYPOINT [ "/usr/bin/mysql" ] ENTRYPOINT [ "/usr/bin/mysql" ]