2019-04-24 21:52:08 +00:00
|
|
|
FROM alpine:3.9.4
|
2016-12-10 00:47:58 +00:00
|
|
|
|
2019-04-24 21:52:08 +00:00
|
|
|
WORKDIR /usr/app
|
2016-12-10 00:47:58 +00:00
|
|
|
|
2019-10-30 09:02:25 +00:00
|
|
|
RUN apk --no-cache add ca-certificates tzdata wget
|
2017-10-19 22:42:33 +00:00
|
|
|
|
2019-04-24 21:52:08 +00:00
|
|
|
# Install the libc required by the password hashing compiled with CGO.
|
|
|
|
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
|
|
|
|
RUN wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk
|
|
|
|
RUN apk --no-cache add glibc-2.30-r0.apk
|
2016-12-10 00:47:58 +00:00
|
|
|
|
2019-04-24 21:52:08 +00:00
|
|
|
ADD dist/authelia authelia
|
|
|
|
ADD dist/public_html public_html
|
2016-12-17 18:36:41 +00:00
|
|
|
|
2019-01-30 15:47:03 +00:00
|
|
|
EXPOSE 9091
|
2017-01-12 22:27:53 +00:00
|
|
|
|
2017-06-28 13:57:58 +00:00
|
|
|
VOLUME /etc/authelia
|
|
|
|
VOLUME /var/lib/authelia
|
2017-01-21 19:24:35 +00:00
|
|
|
|
2019-04-24 21:52:08 +00:00
|
|
|
CMD ["./authelia", "-config", "/etc/authelia/config.yml"]
|