Skip to content

Commit

Permalink
revert system-site-package and remove pip, breaking stuffs
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed Jan 30, 2025
1 parent c1b8392 commit 3aeb5f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3aeb5f2

Please sign in to comment.