1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Mailu/optional/traefik-certdumper/Dockerfile
2022-10-12 16:32:27 +02:00

23 lines
357 B
Docker

# syntax=docker/dockerfile-upstream:1.4.3
# cert dumper image
FROM ldez/traefik-certs-dumper
ENV TZ Etc/UTC
ENV LANG C.UTF-8
ARG VERSION
LABEL version=$VERSION
RUN set -euxo pipefail \
; apk add --no-cache bash inotify-tools tzdata util-linux
COPY run.sh /
RUN echo $VERSION >/version
VOLUME ["/traefik"]
VOLUME ["/output"]
ENTRYPOINT ["/run.sh"]