Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSouchet authored Jan 28, 2025
1 parent 88e5c9c commit f8df137
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,10 @@ RUN cd /opt/ && \

WORKDIR /opt/quadpype

# Install pyenv
RUN curl https://pyenv.run | bash && \
echo 'export PYENV_ROOT="$HOME/.pyenv"'>> $HOME/.bashrc && \
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> $HOME/.bashrc && \
echo 'eval "$(pyenv init - bash)"' >> $HOME/.bashrc &&

SHELL ["/bin/bash", "--login", "-c"]

RUN source ~/.bashrc

# Install python
RUN pyenv install ${QUADPYPE_PYTHON_VERSION}
RUN pyenv local ${QUADPYPE_PYTHON_VERSION}

# The QUADPYPE_QUAD_SYNCHRO_VERSION should be re-apply/updated when the docker container is (re)started
# First Add a container environnement variable named QUADPYPE_QUAD_SYNCHRO_VERSION set to the version wanted, then
# set the container CMD to:
Expand Down

0 comments on commit f8df137

Please sign in to comment.