Skip to content

Commit

Permalink
fixing `Error: rpy2 in API mode cannot be built without R in the PATH…
Browse files Browse the repository at this point in the history
… or R_HOME defined. Correct this or force ABI mode-only by defining the environment variable RPY2_CFFI_MODE=ABI`
  • Loading branch information
AndyBRoswell committed Aug 26, 2024
1 parent 71240cf commit a5ba124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vreapis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM python:3.12.2-slim
WORKDIR /app

RUN apt update && \
apt install -y libpq-dev gcc gdal-bin curl net-tools iputils-ping
apt install -y libpq-dev gcc gdal-bin curl net-tools iputils-ping r-base

RUN python3 -m venv /opt/venv
RUN /opt/venv/bin/pip install pip --upgrade
Expand Down

0 comments on commit a5ba124

Please sign in to comment.