mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
4f5eb93c4b
Bumps golang from 1.14.3-alpine to 1.14.4-alpine. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
20 lines
432 B
Docker
20 lines
432 B
Docker
FROM golang:1.14.4-alpine
|
|
|
|
ARG USER_ID
|
|
ARG GROUP_ID
|
|
|
|
# gcc and musl-dev are required for building go-sqlite3
|
|
RUN addgroup --gid ${GROUP_ID} dev && \
|
|
adduser --uid ${USER_ID} -G dev -D dev && \
|
|
apk --no-cache add gcc musl-dev git
|
|
|
|
RUN mkdir -p /etc/authelia && chown dev:dev /etc/authelia
|
|
RUN mkdir -p /var/lib/authelia && chown dev:dev /var/lib/authelia
|
|
|
|
USER dev
|
|
|
|
VOLUME /etc/authelia
|
|
VOLUME /var/lib/authelia
|
|
|
|
EXPOSE 9091
|