Giter Club home page Giter Club logo

Comments (9)

eddelbuettel avatar eddelbuettel commented on July 21, 2024

What is its problem with dist-upgrade? Never upgrade? Or prefers apt-get upgrade? I have strong preference for dist-upgrade over upgrade, and I think not upgrading is back ("staleness").

I haven't had time to read up on detail -- I saw ENTRYPOINT and agree that that could be our new friend.

Re reducing to one flavor: time will tell. Next up for me is adding r-devel-san, may not get to it for a few days though.

from rocker.

cboettig avatar cboettig commented on July 21, 2024

From the docs:

Avoid RUN apt-get upgrade or dist-upgrade, since many of the “essential” packages from the base images will fail to upgrade inside an unprivileged container. If a base package is out of date, you should contact its maintainers. If you know there’s a particular package, foo, that needs to be updated, use apt-get install -y foo and it will update automatically.

Meanwhile always pairing apt-get update in the same AUFS layer as apt-get install will make sure that anything we install explicitly is updated. Also notes:

Don’t do RUN apt-get update on a single line. This will cause caching issues if the referenced archive gets updated, which will make your subsequent apt-get install fail without comment.

from rocker.

eddelbuettel avatar eddelbuettel commented on July 21, 2024

I think I disagree with that. We'll see how it goes -- in any even we do use current base containers (ie debian/testing), so we should be good.

from rocker.

cboettig avatar cboettig commented on July 21, 2024

seems like I still need supervisord to prevent the container from just exiting after it runs rserver. Meanwhile I made the simple formatting / apt-get update changes to debian-rstudio and debian-hadleyverse

from rocker.

cboettig avatar cboettig commented on July 21, 2024

Yeah, I'm not clear what they mean by 'essential packages will fail to update in an unprivileged container', seems like the packages will update just fine... OTOH, it does seem like everything should be updated already since we're using a good base image and then running apt-get update && apt-get install together. You're the guru on this stuff though so I'm happy to stick with whatever you'd recommend.

from rocker.

eddelbuettel avatar eddelbuettel commented on July 21, 2024

I like the updates you just make; I made one more minor iteration on the rstudio one.

As for breaking or not when updating: I have yet to see that, either at Travis or here. Timeouts, sure. Actual breakage: naah.

from rocker.

cboettig avatar cboettig commented on July 21, 2024

nice, thanks for cleaning up those lines.

Um, on the author line, is it possible to put both our names in the actual
Maintainer line? (so that it's part of the image metadata?) Perhaps people
are more likely to read the Dockerfile than the image metadata, but still...

On Thu, Oct 2, 2014 at 3:33 PM, Dirk Eddelbuettel [email protected]
wrote:

I like the updates you just make; I made one more minor iteration on the
rstudio one.

As for breaking or not when updating: I have yet to see that, either at
Travis or here. Timeouts, sure. Actual breakage: naah.


Reply to this email directly or view it on GitHub
#17 (comment).

Carl Boettiger
UC Santa Cruz
http://carlboettiger.info/

from rocker.

eddelbuettel avatar eddelbuettel commented on July 21, 2024

Why not -- just sent another commit to that effect.

from rocker.

cboettig avatar cboettig commented on July 21, 2024

I think we've largely hit this. We still run a few apt-get dist-upgrades because we feel that's still a good idea.

I looked at getting away from supervisord for rstudio using Entrypoints but it doesn't seem possible. Sticking with the default entrypoint for now seems advisable and flexible.

from rocker.

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.