Skip to content

Commit

Permalink
Create python virtual environment
Browse files Browse the repository at this point in the history
  • Loading branch information
EvertBunschoten committed Nov 7, 2024
1 parent fc7da30 commit 5fd93e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 10 \
&& /usr/sbin/update-ccache-symlinks \
&& echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc
&& echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc \
&& apt-get update \
&& apt-get install -y python3-virtualenv \
&& apt-get install -y python3.12-venv \
&& python3 -m venv /home/unbuntu/pyenv \
&& virtualenv -p /usr/bin/python3 /home/ubuntu/pyenv



# Copies your code file from your action repository to the filesystem path `/` of the container
COPY docker/build/getSU2DataMiner.sh /getSU2DataMiner.sh
Expand Down

0 comments on commit 5fd93e5

Please sign in to comment.