-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
18 lines (12 loc) · 837 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM alpine:latest
MAINTAINER Sergey Ugdyzhekov, [email protected]
RUN apk --no-cache add openssl jq bash curl
RUN wget https://github.com/barnybug/cli53/releases/download/0.8.7/cli53-linux-386 -O /usr/local/bin/cli53 && \
chmod +x /usr/local/bin/cli53
RUN wget https://raw.githubusercontent.com/lukas2511/dehydrated/master/dehydrated -O /usr/local/bin/dehydrated && \
chmod +x /usr/local/bin/dehydrated
RUN wget https://raw.githubusercontent.com/whereisaaron/dehydrated-route53-hook-script/master/hook.sh -O /usr/local/lib/route53_hook.sh && \
chmod +x /usr/local/lib/route53_hook.sh
RUN echo -e 'CHALLENGETYPE="dns-01"\nHOOK=/usr/local/lib/route53_hook.sh\nHOOK_CHAIN="no"' > /etc/dehydrated.conf
WORKDIR /workbench
ENTRYPOINT ["/usr/local/bin/dehydrated", "--config", "/etc/dehydrated.conf", "-c", "--out", "."]