authelia/internal/suites/example/compose/authelia/Dockerfile.backend
Amir Zarrinkafsh e8a52f4794
refactor: replace sqlite library with the original cgo variant (#2427)
* refactor: replace sqlite library with the original cgo variant

This change reverts our SQLite library back to the original for compatibility and performance reasons now that we always package with CGO.

* fix: cgo and build flags

* fix: gcc requirement

* fix: gcc in dev workflow too
2021-10-01 09:58:33 +10:00

19 lines
290 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 gcc git musl-dev
RUN mkdir -p /config && chown dev:dev /config
USER dev
ENV PATH="/app:${PATH}"
VOLUME /config
EXPOSE 9091