Skip to content

Commit c1b8392

Browse files
committed
use system-site-packages
1 parent 6a83e08 commit c1b8392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ FROM python:3.12-alpine AS builder
2424

2525
RUN apk add --no-cache curl bzip2 gcc libffi-dev musl-dev
2626
RUN pip install --no-cache-dir virtualenv
27-
RUN virtualenv /opt/venv && source /opt/venv/bin/activate && \
28-
python -m pip install --no-cache-dir datalad pytest ssh_agent_setup && \
27+
RUN virtualenv --system-site-packages /opt/venv && source /opt/venv/bin/activate && \
28+
python -m pip install --no-cache-dir datalad pytest ssh_agent_setup && \
2929
python -m pip uninstall -y pip # save 10MB
3030

3131
FROM python:3.12-alpine

0 commit comments

Comments
 (0)