authelia/internal/suites/example/compose/authelia/Dockerfile.backend
renovate[bot] 1d5469de43
build(deps): update dependency golang to v1.18.4 (#3695)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 11:06:14 +10:00

19 lines
292 B
Docker

FROM golang:1.18.4-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