docker-dehydrated/Dockerfile

33 lines
726 B
Docker
Raw Normal View History

2017-07-12 01:57:57 +00:00
FROM jcgruenhage/baseimage-alpine
MAINTAINER Jan Christian Grünhage <jan.christian@gruenhage.xyz>
ENV UID=192 \
GID=192 \
STAGING=0 \
CHALLENGE="dns-01"
# Set STAGING to false(0) by default, set to true(1) to use staging LE-Endpoint
# Set CHALLENGE to "dns-01" (DNS Challenge) by default, set to "http-01" to use the HTTP Challenge
2017-07-12 01:57:57 +00:00
RUN apk update \
&& apk add --upgrade \
git \
openssl \
curl \
sed \
grep \
bash \
su-exec \
2017-07-12 02:43:35 +00:00
libxml2-utils \
&& git clone https://github.com/lukas2511/dehydrated /dehydrated
2017-07-12 01:57:57 +00:00
# Add the files in the 'root' folder to the images filesystem
2017-07-12 01:57:57 +00:00
ADD root /
VOLUME /etc/dehydrated
VOLUME /var/www/dehydrated
VOLUME /certs
# Execute the setup script
RUN bash /etc/once/setup.sh