diff --git a/automation/TEnv/Dockerfile b/automation/TEnv/Dockerfile index 0359cb7..cfbaac1 100644 --- a/automation/TEnv/Dockerfile +++ b/automation/TEnv/Dockerfile @@ -25,13 +25,13 @@ RUN apk --update --no-cache --allow-untrusted --repository http://dl-cdn.alpinel /var/tmp/* ARG TENV_VERSION=3.2.4 -ENV TENV_ROOT=/var/tenv + VOLUME /var/tenv RUN wget -O /tmp/tenv.apk "https://github.com/tofuutils/tenv/releases/download/v${TENV_VERSION}/tenv_v${TENV_VERSION}_386.apk" \ && apk add --allow-untrusted /tmp/tenv.apk \ - && mkdir -p $TENV_ROOT \ - && chmod -R 777 $TENV_ROOT \ + && mkdir -p /var/tenv \ + && chmod -R 777 /var/tenv \ && rm /tmp/tenv.apk RUN apk add --no-cache --purge \ @@ -54,11 +54,11 @@ RUN apk add --no-cache --purge \ RUN curl https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash RUN mv /root/.pyenv /pyenv # these need to go into your .bashrc -ENV PYENV_ROOT "/pyenv" -ENV PATH "$PYENV_ROOT/bin:$PATH" -RUN eval "$(pyenv init -)" -RUN eval "$(pyenv virtualenv-init -)" -RUN pyenv install 3.8 3.9 3.10 3.11 3.12 -ENV PATH "$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH" +# ENV PYENV_ROOT "/pyenv" +# ENV PATH "$PYENV_ROOT/bin:$PATH" +# RUN eval "$(pyenv init -)" +# RUN eval "$(pyenv virtualenv-init -)" +# RUN pyenv install 3.8 3.9 3.10 3.11 3.12 +# ENV PATH "$PYENV_ROOT/bin:$PYENV_ROOT/shims:$PATH" ENTRYPOINT ["/usr/bin/tenv"]