Closed grantmcdermott closed 1 year ago
The first two are you (using my r2u setup). The other two maybe from devcontainers also enabling r2u?
Yes, there is absolutely no need to write a Dockerfile to use r2u. Look at this for example. https://github.com/microsoft/datascience-py-r/blob/e7372c78dbc6d0c59e6d9d32299d0b8d1c44e9ac/src/datascience-py-r/.devcontainer/devcontainer.json
However, the bspm configuration must be done after installing R yourself for now, so you must use postCreateCommand
, etc.
I have opened a PR to add an option to do this with the r-apt Feature. rocker-org/devcontainer-features#169
From @eddelbuettel's comment in https://github.com/grantmcdermott/codespaces-r2u/issues/1#issuecomment-1666272339.
Yet we also have the dual list files. Two of these are from your Dockerfile, two of them are not so we may need to have a look at the other scriptlets that run: