Conversation
|
successfully built and pushed to dockerhub |
|
|
||
| RUN pip3 install \ | ||
| "pyrefinebio" | ||
| "pyrate-limiter==2.7.0" \ |
There was a problem hiding this comment.
This is the version listed in pyrefinebio
| "pyrate-limiter==2.7.0" \ | |
| "pyrate-limiter==2.10.0" \ |
There was a problem hiding this comment.
This unfortunately didn't fix the problem. Tried rebuilding.
There was a problem hiding this comment.
And in the docker image pip show pyrate_limiter shows
Name: pyrate-limiter
Version: 2.10.0
Summary: Python Rate-Limiter using Leaky-Bucket Algorithm
Home-page: https://github.com/vutran1710/PyrateLimiter
Author: vutr
Author-email: me@vutr.io
License: MIT
Location: /usr/local/lib/python3.12/dist-packages
Requires:
Required-by:
There was a problem hiding this comment.
When I look at the one being pulled by your tests, jhudsl/reproducible-r:latest, it still has the newer version:
❯ docker run jhudsl/reproducible-r:latest pip show pyrate_limiter
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Name: pyrate-limiter
Version: 3.0.0
Summary: Python Rate-Limiter using Leaky-Bucket Algorithm
Home-page: https://github.com/vutran1710/PyrateLimiter
Author: vutr
Author-email: me@vutr.io
License: MIT
Location: /usr/local/lib/python3.12/dist-packages
Requires:There was a problem hiding this comment.
Locally, I can use the following two commands and get a successful run:
❯ docker build -f docker/Dockerfile . -t jhudsl/reproducible-r:test --platform linux/amd64
❯ docker run \
--mount type=bind,target=/home/rstudio,source=$PWD \
jhudsl/reproducible-r:test \
bash run_analysis.shThere was a problem hiding this comment.
Lol. Such a stupid reason. I've been using the wrong docker image name. It's jhudsl/reproducible-r NOT jhudsl/reproducible-r-example. 😅
Thanks for the help @jashapiro
Co-authored-by: Joshua Shapiro <josh.shapiro@ccdatalab.org>
|
Docker issue is just a secret related problem so not related to this PR. |
Summary
Earlier rocker versions have problems with Mac silicon: rocker-org/rocker-versioned2#144
They have this fix in the more recent versions.
We encounter that this hasn't been updated when @obigriffith reviewed fhdsl/Containers_for_Scientists#17
So bumping here