Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSouchet committed Jan 28, 2025
2 parents d35efac + f8df137 commit 1d1521d
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM debian:bookworm AS builder
USER root
ARG DEBIAN_FRONTEND=noninteractive
ARG QUADPYPE_PYTHON_VERSION=4.0.20
ARG QUADPYPE_QUAD_SYNCHRO_VERSION="4.0.20"
ARG QUADPYPE_PYTHON_VERSION=4.0.21
ARG QUADPYPE_QUAD_SYNCHRO_VERSION="4.0.21"

LABEL org.opencontainers.image.name="quadpype-module-docker"
LABEL org.opencontainers.image.documentation="https://github.com/quadproduction/quadpype-module-docker"
Expand All @@ -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 1d1521d

Please sign in to comment.