Closed tioback closed 5 years ago
Hi @tioback,
it should work with 3.6.0
. The underscores are just needed in the layer names as '.' is an unsupported character. I will update the documentation to make it more clear. Thanks for spotting this!
Thanks for the quick reply, Phillipp.
However, isn't that fixed by step 3/9?
Step 3/9 : ARG VERSION=3.6.0
---> Running in cb6c95c5d2bd
This is just the default value. It is applied if you use docker build
directly. However, the docker_build.sh
script expects a value.
All ends well when you have the right help:
Running it with ./docker_build.sh 3.6.0
did it.
Step 9/9 : CMD mkdir -p /var/r/ && cp -r bin/ lib/ etc/ library/ doc/ modules/ share/ /var/r/
---> Running in d09e6a431cdc
Removing intermediate container d09e6a431cdc
---> e998f894872c
Successfully built e998f894872c
Successfully tagged lambda-r:build-3.6.0
Thanks a lot, @philipp94831 !
Hi,
I cloned the repository locally and ran
docker_build.sh
, but step 5 throws up this error:The command '/bin/sh -c wget -q https://cran.r-project.org/src/base/R-3/R-${VERSION}.tar.gz && mkdir ${R_DIR} && tar -xf R-${VERSION}.tar.gz && mv R-${VERSION}/* ${R_DIR} && rm R-${VERSION}.tar.gz' returned a non-zero code: 8
More details:
I'm running it on macOS Mojave 10.14.5 and docker 18.09.2.
Am I doing it wrong?