x
This commit is contained in:
@@ -95,6 +95,7 @@ RUN export http_proxy=${GIT_PROXY} https_proxy=${GIT_PROXY} && \
|
||||
# ===========================================================================
|
||||
RUN python${PYTHON_VER} -m venv ${VENV} && \
|
||||
mkdir -p /root/.pip && \
|
||||
touch ${VENV}/torch-constraint.txt && \
|
||||
echo "[global]" > /root/.pip/pip.conf && \
|
||||
echo "index-url = ${PIP_INDEX}" >> /root/.pip/pip.conf && \
|
||||
echo "[install]" >> /root/.pip/pip.conf && \
|
||||
|
||||
Reference in New Issue
Block a user