That’s great, thanks! I think (at time of writing) the python:3.9
and python:latest
(i.e. python:3.10.0-bullseye
) Docker images are now running on Debian Bullseye, which has gcc 10, so it’s no longer necessary to update gcc and it should be sufficient to just pip install pystan
directly in the new Python Docker images.
FROM python:3.10.0-bullseye
# Install PyStan
RUN pip install pystan