-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (17 loc) · 855 Bytes
/
Copy pathDockerfile
File metadata and controls
24 lines (17 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
### VERSIONS METADATA ###
ARG IMAGE_VERSION=2.11.0
ARG CERTBOT_VERSION=2.11.0
### END VERSIONS METADATA ###
FROM certbot/certbot:v${CERTBOT_VERSION}
ARG IMAGE_VERSION
LABEL org.opencontainers.image.description "This image contains a cerbot for native nginx work in docker-compose"
LABEL org.opencontainers.image.url https://github.com/obervinov/images/docker/certbot
LABEL org.opencontainers.image.documentation https://github.com/obervinov/images/docker/certbot/README.md
LABEL org.opencontainers.image.authors https://github.com/obervinov
LABEL org.opencontainers.image.source https://github.com/obervinov/images
LABEL org.opencontainers.image.version ${IMAGE_VERSION}
RUN apk -U upgrade && apk add --no-cache nginx
COPY cli.ini /etc/letsencrypt/cli.ini
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]