2022-10-08 15:55:40 +02:00
|
|
|
# syntax=docker/dockerfile-upstream:1.4.3
|
|
|
|
|
|
|
|
# cert dumper image
|
2019-03-10 14:15:14 +02:00
|
|
|
FROM ldez/traefik-certs-dumper
|
2018-12-26 12:42:48 +02:00
|
|
|
|
2021-11-04 15:22:12 +02:00
|
|
|
ENV TZ Etc/UTC
|
2022-10-08 15:55:40 +02:00
|
|
|
ENV LANG C.UTF-8
|
2021-11-04 15:22:12 +02:00
|
|
|
|
2022-10-08 15:55:40 +02:00
|
|
|
ARG VERSION
|
2021-11-17 22:00:04 +02:00
|
|
|
LABEL version=$VERSION
|
|
|
|
|
2022-10-08 15:55:40 +02:00
|
|
|
RUN set -euxo pipefail \
|
|
|
|
; apk add --no-cache bash inotify-tools tzdata util-linux
|
2019-03-10 14:15:14 +02:00
|
|
|
|
|
|
|
COPY run.sh /
|
2018-12-26 12:42:48 +02:00
|
|
|
|
2022-10-08 15:55:40 +02:00
|
|
|
RUN echo $VERSION >/version
|
|
|
|
|
2018-12-30 16:55:18 +02:00
|
|
|
VOLUME ["/traefik"]
|
|
|
|
VOLUME ["/output"]
|
|
|
|
|
2018-12-26 12:42:48 +02:00
|
|
|
ENTRYPOINT ["/run.sh"]
|