Comments (9)
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.
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.
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.
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.
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.
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.
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.
Why not -- just sent another commit to that effect.
from rocker.
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)
- `r-base` (Docker Official Image) is not updated HOT 5
- Migrating from Dockerhub? HOT 3
- Container for RStudio (not server) HOT 1
- MRAN repository snapshots were deleted - Failing jobs because packages can't be found anymore HOT 5
- docker v18 & packages repositories & rocker's images HOT 5
- unable to load shared object
- Update results in deletion of all install package...
- installation testing fails HOT 1
- r: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory
- Docker image r-base:4.2.1 not reproducible HOT 4
- Installing unstable apt packages? HOT 4
- Local Zotero Integration? HOT 3
- R session terminated HOT 1
- latest r-base breaks install of `curl` package HOT 8
- xz-utils backdoor HOT 4
- Potential high vulnerability in r-base:4.3.1 HOT 3
- Installing packages fails due to broken openssl package in debian testing HOT 2
- Alternative Methods of Extending Images? HOT 5
- update 'latest' version to 4.4.0 RDS security flaw HOT 2
- New `usrmerge` issues. 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 rocker.