From 3aeb5f27d605c20010a82effa6fbdeef5276a16a Mon Sep 17 00:00:00 2001 From: cneuromod_bot Date: Thu, 30 Jan 2025 12:08:37 -0500 Subject: [PATCH] revert system-site-package and remove pip, breaking stuffs --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25b7f37..e961369 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,8 @@ FROM python:3.12-alpine AS builder RUN apk add --no-cache curl bzip2 gcc libffi-dev musl-dev RUN pip install --no-cache-dir virtualenv -RUN virtualenv --system-site-packages /opt/venv && source /opt/venv/bin/activate && \ - python -m pip install --no-cache-dir datalad pytest ssh_agent_setup && \ - python -m pip uninstall -y pip # save 10MB +RUN virtualenv /opt/venv && source /opt/venv/bin/activate && \ + python -m pip install --no-cache-dir datalad pytest ssh_agent_setup FROM python:3.12-alpine RUN apk add --no-cache git openssh-client git-annex