-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failing for cr_deploy_plumber() #32
Comments
For some reason the Dockerfile is adding this line different from my local version:
e.g. install make. I don't think you need make and puzzle why it thinks you do, so try taking it out of the generated Dockerfile, then trying again. It won't make a new auto Dockerfile if there is one already existing in the folder. I've tried with the below and it finishes the Docker build at least:
I guess the make install is something for Windows? It doesn't know its going to run it on linux. It may break something downstream taking it out, but let me know how it goes all the way through to deploying the api. (NTS: perhaps build the Dockerfile in its own cloudbuild?) |
Same result, I'm afraid. |
Two bugs are happening here:
And maybe 3) cr_deploy_plumber("Google/Cloud_Runner/api01", dockerfile="Google/Cloud_Runner/api01/Dockerfile") The "correct" Dockerfile is like above:
Or using the fix from 1)
|
This should be "fixed" now in that containerit is removed as a dependency, instead documentation on how to make your own Dockerfile is included in the docs. It would be nice to include it once it is on CRAN. |
Build is failing on
cr <- cr_deploy_plumber("Google/Cloud_Runner/api01")
. Here's the details :)Last bit of build log
R log
./Google/Cloud_Runner/api01/Dockerfile
:Environment
getwd()
sessionInfo()
The text was updated successfully, but these errors were encountered: