Closed Robinlovelace closed 4 years ago
Example of working Docker images supporting an open source book: https://github.com/geocompr/docker#geocomputation-with-r-in-docker
Example of a working Binder instance: https://mybinder.org/v2/gh/robinlovelace/geocompr/master?urlpath=rstudio
@csgillespie can you create a repo on hub.docker.com so that
docker run -it csgillespie/efficientr bash
Or similar will work on an auto-updated version?
Heads-up @csgillespie this fails:
docker pull csgillespie/efficientr
Using default tag: latest
Error response from daemon: manifest for csgillespie/efficientr:latest not found: manifest unknown: manifest unknown
Can you try manually getting the auto build to work form GH and the docker subfolders?
See here - no tagged releases: https://hub.docker.com/r/csgillespie/efficientr
Test binder here: https://mybinder.org/v2/gh/csgillespie/efficientR/master?urlpath=rstudio
Great news, the binder image works:
Final stage: copy the book's source code into the home directory.
@Robinlovelace We now have three Dockerfiles:
Do we need all three? Can we use symlinks?
We definitely need .binder
so the Binder link works (try it) but don't need the docker one, happy for that folder to be deleted. Simplicity is good.
For reproducibility and learning.