26 lines
456 B
Docker
26 lines
456 B
Docker
FROM jcgruenhage/baseimage-alpine
|
|
MAINTAINER Jan Christian Grünhage <jan.christian@gruenhage.xyz>
|
|
|
|
ENV UID=192 \
|
|
GID=192
|
|
|
|
RUN apk update \
|
|
&& apk add --upgrade \
|
|
git \
|
|
openssl \
|
|
curl \
|
|
sed \
|
|
grep \
|
|
bash \
|
|
su-exec \
|
|
libxml2-utils \
|
|
&& git clone https://github.com/lukas2511/dehydrated /dehydrated
|
|
|
|
# Add the files in the 'root' folder to the images filesystem
|
|
ADD root /
|
|
|
|
VOLUME /etc/dehydrated
|
|
VOLUME /var/www/dehydrated
|
|
VOLUME /certs
|
|
|