Skip to content

Commit

Permalink
Use a virtual environment...
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Oct 29, 2024
1 parent a562149 commit 710c945
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM debian:bookworm

ARG DEBIAN_FRONTEND=noninteractive

ENV PIP_ROOT_USER_ACTION=ignore

RUN \
apt-get update \
&& apt-get install -y --no-install-recommends \
Expand All @@ -19,9 +17,15 @@ RUN \
patch \
python3 \
python3-pip \
python3-virtualenv \
unzip \
xz-utils \
&& pip install jq ruamel.yaml
xz-utils

RUN \
virtualenv /opt/venv \
/opt/venv/pip install jq ruamel.yaml

ENV PATH="/opt/venv/bin:$PATH"

# Install Simplicity Commander (unfortunately no stable URL available, this
# is known to be working with Commander_linux_x86_64_1v15p0b1306.tar.bz).
Expand Down

0 comments on commit 710c945

Please sign in to comment.