Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Lavish Gupta <[email protected]>
  • Loading branch information
lavishiamops authored Oct 8, 2024
1 parent af0fd50 commit 10dd84d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ENV VENV_PATH="/ak-root/venv" \
PATH="/ak-root/venv/bin:$PATH"

# Required for installing pip packages
RUN apk add --no-cache python3=${PYTHON_VERSION} py3-pip build-base pkgconf xmlsec1-dev zlib-dev postgresql-dev
RUN apk add --no-cache python3=${PYTHON_VERSION} py3-pip build-base pkgconf xmlsec-dev zlib-dev postgresql-dev

RUN --mount=type=bind,target=./pyproject.toml,src=./pyproject.toml \
--mount=type=bind,target=./poetry.lock,src=./poetry.lock \
Expand Down Expand Up @@ -122,7 +122,7 @@ LABEL org.opencontainers.image.revision ${GIT_BUILD_HASH}
WORKDIR /

# We cannot cache this layer otherwise we'll end up with a bigger image
RUN apk add --no-cache python3=${PYTHON_VERSION} py3-pip postgresql-libs openssl xmlsec1-openssl libmaxminddb ca-certificates runit && \
RUN apk add --no-cache python3=${PYTHON_VERSION} py3-pip postgresql-libs openssl xmlsec-openssl libmaxminddb ca-certificates runit && \
rm -rf /tmp/* /var/tmp/* && \
adduser --system --no-create-home --uid 1000 --group --home /authentik authentik && \
mkdir -p /certs /media /blueprints && \
Expand Down

0 comments on commit 10dd84d

Please sign in to comment.