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.

17 lines
460 B

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