We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7988bda commit f095babCopy full SHA for f095bab
rocker-rpy/Dockerfile
@@ -8,9 +8,8 @@ RUN /rocker_scripts/install_python.sh
8
ENV RETICULATE_PYTHON=/opt/venv/bin/python
9
ENV PATH=/opt/venv/bin:${PATH}
10
11
-# Small helper so the 'python' command exists (doesn't reinstall python itself).
12
-RUN apt-get update && apt-get install -y --no-install-recommends python-is-python3 \
13
- && rm -rf /var/lib/apt/lists/*
+# Override the python symlink to use the venv Python (not system Python)
+RUN ln -sf /opt/venv/bin/python /usr/bin/python
14
15
# Optionally install project requirements into the existing venv if desired:
16
RUN /opt/venv/bin/pip install -r https://github.com/geocompx/geocompy/raw/refs/heads/main/requirements.txt
0 commit comments