docker-letsencrypt/Dockerfile
2019-12-23 21:59:00 +11:00

19 lines
473 B
Docker
Executable file

# Base image
FROM alpine:latest
# Maintainer information
ARG VCS_REF
LABEL maintainer="Maksim Stojkovic <https://github.com/silentdigit>" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/silentdigit/docker-letsencrypt"
# Install tools required
RUN apk --no-cache add certbot curl
# Copy scripts
COPY ./scripts /scripts
WORKDIR /scripts
RUN chmod -R +x /scripts
# Image starting command
CMD ["/bin/sh", "/scripts/start.sh"]