Skip to content

Commit

Permalink
Fix builds due to pip breakage
Browse files Browse the repository at this point in the history
  • Loading branch information
kadircet committed Nov 21, 2023
1 parent 6111c83 commit 67f9f5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ RUN apt-get install -y cron python3 python3-requests unzip nginx-light
# We install pip, jinja and delete pip afterwards in same step to keep final
# image size small.
RUN apt-get install -y --no-install-recommends python3-pip && \
pip3 install j2cli && apt-get remove -y python3-pip && apt-get autoremove -y
pip3 install --break-system-packages j2cli && apt-get remove -y python3-pip \
&& apt-get autoremove -y
RUN rm -rf /var/www/html/*
WORKDIR "/"

Expand Down

0 comments on commit 67f9f5a

Please sign in to comment.