Giter Site home page Giter Site logo

Comments (7)

eddelbuettel avatar eddelbuettel commented on August 15, 2024

Can you detail whether this happens

  • when you try to build the container itself, or
  • when you use the container and try to build something else?

Last Docker Hub build was fine: https://hub.docker.com/r/rocker/shiny/builds/

from shiny.

NathanSiemers avatar NathanSiemers commented on August 15, 2024

Apologies that I'm pretty new to docker. My dockerfile is below.

After closer inspection of the logs, it looks like the errors are coming from my builds using your container, not your build itself. You can remove this issue.

Thanks again -N

FROM rocker/shiny

RUN apt-get update
RUN apt-get -y install pandoc
RUN apt-get -y install psmisc
RUN apt-get -y install git

ADD shiny-server.conf /etc/shiny-server/shiny-server.conf

ADD rsqlite-make.R rsqlite-make.R .
RUN Rscript rsqlite-make.R . ## it appears the errors happen here.....

from shiny.

eddelbuettel avatar eddelbuettel commented on August 15, 2024

You can (and should) fold apt-get install. Try

RUN apt-get update && \
   apt-get -y install pandoc psmisc git

and add to that line whatever else you installed.

from shiny.

NathanSiemers avatar NathanSiemers commented on August 15, 2024

yes, thanks.

from shiny.

NathanSiemers avatar NathanSiemers commented on August 15, 2024

It might still be good to include libssl-dev and libxml2-dev in your future debian builds, since they are required during compilation of some R packages. Thanks.

from shiny.

eddelbuettel avatar eddelbuettel commented on August 15, 2024

Yes/no/maybe -- I have contemplated this for the r-base-dev package as dependencies.

One counterargument is that most common packages are in fact available as r-cran-* packages too. In any event, this is the wrong place for this discussion. Maybe raise it on r-sig-debian (unless you feel very strongly this is a Rocker issue; even in that case it is likely orthogonal to the shiny container).

from shiny.

cboettig avatar cboettig commented on August 15, 2024

@siemersn Also note that libssl-dev and libxml2-dev are already available on the rocker/tidyverse images,

Maybe it is worth making them available in more base builds a la Docker's Debian buildpack-deps. The buildpack-deps give a good list of some pretty common build dependencies, but does open the door a bit to a kitchen-sink approach. If you want a lot of pre-installed stuff, consider rocker/verse, otherwise our approach has been to let each user add what they need on the more base images.

from shiny.

Related Issues (20)

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.