Fix hadolint: remove FROM quotes, add DL3018 ignore for apk
This commit is contained in:
+3
-2
@@ -1,9 +1,10 @@
|
|||||||
FROM "alpine:3.23"
|
FROM alpine:3.23
|
||||||
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
|
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
COPY patch.py /tmp/patch.py
|
COPY patch.py /tmp/patch.py
|
||||||
|
|
||||||
|
# hadolint ignore=DL3018
|
||||||
RUN apk add --no-cache offlineimap openssl && \
|
RUN apk add --no-cache offlineimap openssl && \
|
||||||
adduser -D offlineimap && \
|
adduser -D offlineimap && \
|
||||||
# Force SECLEVEL=1 in imaplib2 to allow connecting to servers with weak DH keys (DH_KEY_TOO_SMALL)
|
# 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/
|
COPY --chown=offlineimap offlineimaprc.*.tmpl /home/offlineimap/
|
||||||
|
|
||||||
# Add Tini
|
# 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"
|
#ADD "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini" "/tini"
|
||||||
#RUN chmod +x "/tini"
|
#RUN chmod +x "/tini"
|
||||||
#ENTRYPOINT ["/tini", "--"]
|
#ENTRYPOINT ["/tini", "--"]
|
||||||
|
|||||||
Reference in New Issue
Block a user