From 957f070e07c8df54e81ca3340d35c118644ece55 Mon Sep 17 00:00:00 2001 From: Seth Lyles Date: Thu, 16 Jan 2025 16:03:37 -0800 Subject: [PATCH] forgot to add the first time --- eyeon.Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eyeon.Dockerfile b/eyeon.Dockerfile index 0e8e289..deb5c94 100644 --- a/eyeon.Dockerfile +++ b/eyeon.Dockerfile @@ -15,7 +15,8 @@ RUN groupadd -g $USER_ID $OUN \ RUN echo "alias build='python3 -m build'" >> /home/$OUN/.bashrc \ && echo "alias clean='rm -rf /workdir/dist'" >> /home/$OUN/.bashrc \ - && echo "alias rein='build && pip uninstall -y eyeon && pip install /workdir/dist/eyeon*.whl'" >> /home/$OUN/.bashrc + && echo "alias rein='build && pip uninstall -y eyeon && pip install /workdir/dist/eyeon*.whl'" >> /home/$OUN/.bashrc \ + && echo "alias eye='source /eye/bin/activate'" >> /home/$OUN/.bashrc RUN wget https://github.com/Kitware/CMake/releases/download/v3.30.3/cmake-3.30.3-linux-x86_64.sh \ && chmod u+x cmake-3.30.3-linux-x86_64.sh \ @@ -35,6 +36,8 @@ RUN mkdir -p /opt/die \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +RUN python3 -m venv /eye && chown -R $OUN /eye USER $OUN + ENV PATH=/home/$OUN/.local/bin:$PATH