Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
fabgaubert committed Oct 25, 2024
1 parent d6636af commit 4ca5060
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions automation/TEnv/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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"]

0 comments on commit 4ca5060

Please sign in to comment.