Skip to content
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

Error building docker with plumber #671

Closed
datahack336 opened this issue Sep 15, 2020 · 2 comments
Closed

Error building docker with plumber #671

datahack336 opened this issue Sep 15, 2020 · 2 comments

Comments

@datahack336
Copy link

I have a docker file that works for year now. It did not have any issues, but today when I tried to build it, I've got following error:

dependency 'sodium' is not available for package 'plumber'

This was the command I've tried to execute:

RUN R -e "install.packages(c('plumber'), repos='https://cloud.r-project.org')"

Base image is ubuntu:19.10

Another error I found - "dependency 'sodium' is not available for package 'plumber'"

@meztez
Copy link
Collaborator

meztez commented Sep 15, 2020

Plumber now requires a package that requires libsodium to be installed on your system.

sodium,

In your docker file, put that before plumber installation.

RUN apt install libsodium-dev

@datahack336
Copy link
Author

Thank you!

mayeulk added a commit to mayeulk/RetailScientifics that referenced this issue Apr 21, 2023
Typos in text and code.
Instructions to install Plumber. Sources used to fix the plumber/libsodium error:
rstudio/plumber#671
https://stackoverflow.com/a/61455761/9071968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants