-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
26 lines (19 loc) · 1.06 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM ubuntu
ARG S6_OVERLAY_VERSION=3.2.0.0
ARG S6_OVERLAY_ARCH=x86_64
WORKDIR /config
VOLUME /config
ENV HOME="/config"
EXPOSE 9443
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cron libcrypt-bcrypt-perl libio-socket-ssl-perl libmojolicious-perl curl ca-certificates xz-utils \
&& rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
RUN curl -sSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz -o /tmp/s6-overlay-noarch.tar.xz \
&& tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz \
&& curl -sSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz -o /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz \
&& tar -C / -Jxpf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz \
&& rm /tmp/s6-overlay-noarch.tar.xz /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz
COPY ./docker/services.d /etc/services.d
ENTRYPOINT ["/init"]
COPY acmeproxy.pl /app/acmeproxy.pl
CMD [ "perl", "/app/acmeproxy.pl" ]