3 changed files with 30 additions and 2 deletions
@ -1,7 +1,6 @@
|
||||
FROM nginx:1.21.3-alpine |
||||
|
||||
RUN apk update |
||||
RUN apk add certbot |
||||
RUN apk update && apk add certbot bind-tools |
||||
|
||||
COPY entrypoint.sh / |
||||
CMD ["/entrypoint.sh"] |
||||
|
@ -0,0 +1,11 @@
|
||||
#!/bin/sh |
||||
|
||||
set -e |
||||
|
||||
docker build -t ungleich-certbot . |
||||
|
||||
while [ $# -ge 1 ]; do |
||||
tag=$1; shift |
||||
docker tag ungleich-certbot:latest ungleich/ungleich-certbot:${tag} |
||||
docker push ungleich/ungleich-certbot:${tag} |
||||
done |
Loading…
Reference in new issue