You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
460 B

5 years ago
FROM alpine:latest
MAINTAINER Blagovest Petrov
ENV WELLKNOWN /srv/acme-challenge
ENV BASEDIR /srv/data
5 years ago
RUN apk --no-cache add curl openssl bash tini
RUN curl -o /usr/local/bin/dehydrated https://raw.githubusercontent.com/lukas2511/dehydrated/master/dehydrated && \
chmod +x /usr/local/bin/dehydrated
5 years ago
COPY ./cron /etc/periodic/daily
5 years ago
VOLUME /srv/data
WORKDIR /srv/data
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
CMD ["/usr/sbin/crond", "-f"]