Comments (3)
The step which tries to set up the DEB repository for R stuff is complaining about a missing gnupg
binary in order to verify the repository's signature:
Step 2/4 : RUN set -eux && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu/xenial-cran35/' && apt-get update --yes
---> Running in a8bdcba081d2
�[91m+ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
�[0m
�[91mE: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
�[0m
I just had a look at the base image s22s/geo-swak
and it seems to be based on Debian Buster, not on Ubuntu Xenial, so I would do something like this:
FROM s22s/geo-swak
RUN set -eux \
&& apt-get update \
&& env DEBIAN_FRONTEND=noninteractive apt-get install --yes gnupg
RUN set -eux \
&& apt-key adv --keyserver hkp://keys.gnupg.net:80 --recv-keys E19F5F87128899B192B1A2C2AD5F960A256A04AF \
&& echo 'deb http://cloud.r-project.org/bin/linux/debian buster-cran35/' > /etc/apt/sources.list.d/r-project.list \
&& cat /etc/apt/sources.list.d/r-project.list \
&& apt-get update --yes
(as per https://cloud.r-project.org/bin/linux/debian/)
Question, @cvitolo: Are you using R 3.5.0 or R 4.x? Let me know, and I can prepare a pull request
from caliver.
Many thanks @carletes !!! I'm testing on various R versions (3.5 and above). If you use 3.5 should be fine.
from caliver.
All works and I'm closing this issue now, thanks @carletes for your PR and help!
from caliver.
Related Issues (11)
- Appveyor build failing HOT 1
- New GEFF data - file structure changed, utility functions become obsolete HOT 1
- Data for 2019 or years going forward? HOT 1
- Migrate CI HOT 1
- Unit tests for RISICO's functions are missing HOT 1
- CRAN submission HOT 2
- Update vignettes HOT 1
- Tests for mask_crop_subset() generate warning/error
- can't modify default fire season
- get_gfed4() does not run in RStudio, only in terminal HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caliver.