Fix hadolint: remove FROM quotes, add DL3018 ignore for apk
Docker Build and Push / lint (pull_request) Successful in 8s
Docker Build and Push / build (pull_request) Successful in 51s
Docker Build and Push / test (pull_request) Successful in 12s
Docker Build and Push / push (pull_request) Has been skipped

This commit is contained in:
2026-06-08 22:28:15 -04:00
parent 2b7c12a145
commit 58c0a69b5b
+3 -2
View File
@@ -1,9 +1,10 @@
FROM "alpine:3.23"
FROM alpine:3.23
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
COPY entrypoint.sh /entrypoint.sh
COPY patch.py /tmp/patch.py
# hadolint ignore=DL3018
RUN apk add --no-cache offlineimap openssl && \
adduser -D offlineimap && \
# Force SECLEVEL=1 in imaplib2 to allow connecting to servers with weak DH keys (DH_KEY_TOO_SMALL)
@@ -15,7 +16,7 @@ RUN apk add --no-cache offlineimap openssl && \
COPY --chown=offlineimap offlineimaprc.*.tmpl /home/offlineimap/
# Add Tini
#ENV "TINI_VERSION" "v0.16.1"
ENV "TINI_VERSION" "v0.16.1"
#ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini"
#RUN chmod +x "/tini"
#ENTRYPOINT ["/tini", "--"]