authelia/internal/suites/example/compose/authelia/Dockerfile.backend
renovate[bot] 0aba819899
build(deps): update golang docker tag (#2293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 13:46:47 +10:00

19 lines
277 B
Docker

FROM golang:1.17-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 git
RUN mkdir -p /config && chown dev:dev /config
USER dev
ENV PATH="/app:${PATH}"
VOLUME /config
EXPOSE 9091