Skip to content

Commit

Permalink
imp: improve pi install (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-ssd authored Jun 27, 2024
2 parents b2665eb + 1ec8192 commit 807b131
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ ARG PI_VERSION
RUN apt-get update && apt-get install -y python3-dev gcc libpq-dev libkrb5-dev
COPY requirements.txt requirements.txt
RUN python3 -m venv "$PI_HOME" && . "$PI_HOME/bin/activate" \
&& pip3 install --upgrade pip \
&& pip3 install wheel \
&& pip3 install -r https://raw.githubusercontent.com/privacyidea/privacyidea/v"$PI_VERSION"/requirements.txt \
&& pip3 install privacyidea=="$PI_VERSION" \
&& pip3 install wheel && pip3 install -r requirements.txt
&& pip3 install -r requirements.txt

FROM python:$BASE_IMAGE_TAG
ARG PI_HOME
Expand Down

0 comments on commit 807b131

Please sign in to comment.