docker-letsencrypt/Dockerfile
2019-12-27 03:44:13 +11:00

19 lines
481 B
Docker
Executable file

# Base image
FROM alpine:latest
# Maintainer information
ARG VCS_REF
LABEL maintainer="Maksim Stojkovic <https://github.com/maksimstojkovic>" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/maksimstojkovic/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"]