Skip to content

Commit

Permalink
forgot to add the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
slyles1001 committed Jan 17, 2025
1 parent e0f7211 commit 957f070
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion eyeon.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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

0 comments on commit 957f070

Please sign in to comment.