authelia/internal/suites/example/compose/authelia/Dockerfile.backend
renovate[bot] c5cb36c526
build(deps): update dependency golang to v1.17.9 (#3198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 15:53:15 +10:00

19 lines
292 B
Docker

FROM golang:1.17.9-alpine
ARG USER_ID
ARG GROUP_ID
RUN addgroup --gid ${GROUP_ID} dev && \
adduser --uid ${USER_ID} -G dev -D dev && \
apk --no-cache add gcc git musl-dev
RUN mkdir -p /config && chown dev:dev /config
USER dev
ENV PATH="/app:${PATH}"
VOLUME /config
EXPOSE 9091