mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-05-07 17:44:24 +02:00
fix: Remove more references to legacy Python versions
This commit is contained in:
parent
1084c0f245
commit
339b5221bc
@ -7,9 +7,6 @@ FROM ${BASE_IMAGE} as pyenv
|
|||||||
RUN apk add --no-cache build-base git libffi-dev openssl-dev bzip2-dev zlib-dev readline-dev sqlite-dev
|
RUN apk add --no-cache build-base git libffi-dev openssl-dev bzip2-dev zlib-dev readline-dev sqlite-dev
|
||||||
ENV PYENV_ROOT=/pyenv
|
ENV PYENV_ROOT=/pyenv
|
||||||
RUN curl https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
|
RUN curl https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
|
||||||
RUN /pyenv/bin/pyenv install 2.7
|
|
||||||
RUN /pyenv/bin/pyenv install 3.6
|
|
||||||
RUN /pyenv/bin/pyenv install 3.8
|
|
||||||
RUN /pyenv/bin/pyenv install 3.10
|
RUN /pyenv/bin/pyenv install 3.10
|
||||||
RUN bash -xc 'rm -rf /pyenv/{.git,plugins} /pyenv/versions/*/lib/*/{test,config,config-*linux-gnu}' && \
|
RUN bash -xc 'rm -rf /pyenv/{.git,plugins} /pyenv/versions/*/lib/*/{test,config,config-*linux-gnu}' && \
|
||||||
find /pyenv -type d -name __pycache__ -exec rm -rf {} + && \
|
find /pyenv -type d -name __pycache__ -exec rm -rf {} + && \
|
||||||
|
Loading…
Reference in New Issue
Block a user