Code Monkey home page Code Monkey logo

Comments (3)

carletes avatar carletes commented on July 19, 2024

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.

cvitolo avatar cvitolo commented on July 19, 2024

Many thanks @carletes !!! I'm testing on various R versions (3.5 and above). If you use 3.5 should be fine.

from caliver.

cvitolo avatar cvitolo commented on July 19, 2024

All works and I'm closing this issue now, thanks @carletes for your PR and help!

from caliver.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.