1
0
forked from eoeair/cenv
cenv/Program/python/Dockerfile

13 lines
391 B
Docker
Raw Permalink Normal View History

FROM eoelab.org:1027/ben0i0d/cenv:base
USER root
ENV PATH="/opt/base/bin:${PATH}"
# install python
RUN apt-get update --yes && apt-get install --yes --no-install-recommends python3-venv && apt-get clean && rm -rf /var/lib/apt/lists/* && \
python3 -m venv /opt/base && \
2024-12-05 22:51:34 +08:00
echo '[global]\nindex-url = https://mirrors.ustc.edu.cn/pypi/web/simple' > /etc/pip.conf
WORKDIR "${HOME}"