Comments (5)
Dang! Touche -- /tmp/downloaded_package is definitely a littler issue.
I also now remove the svn checkout when building r-devel, yet the container is still humongous. Should we consider removing the packages needed to build it, if we perceive of the container as a pure 'run this' appliance?
from rocker.
Done in e173fb5
from rocker.
For a (much) smaller image for r-devel, can you just skip installing texlive?
Also, I think if you don't want the svn checkout to take up space, you can put the entire checkout/build/install/remove for R-devel in one RUN statement.
When I do docker images --tree
, this is what shows up on that branch:
...
└─d82990d90d44 Virtual Size: 756.2 MB
└─3b832a50af86 Virtual Size: 1.504 GB
└─efbc3de818c6 Virtual Size: 1.634 GB
└─79fd3909fa94 Virtual Size: 1.635 GB
└─c3ab895ec76d Virtual Size: 1.756 GB
└─f2b0a919fd46 Virtual Size: 1.756 GB
└─f4736fc85c35 Virtual Size: 1.756 GB Tags: eddelbuettel/ubuntu-r-devel:latest
The ~750MB increase is texlive; the next 130MB increase is the svn co
, and the 120MB increase after that is the make
.
from rocker.
In the new 'drd' (== 'docker r-devel daily', approximately) I already remove the svn artifacts, removing all of texlive* (or not even installing it in the first place) may be next.
from rocker.
Turns out you need some texlive or the build fails. So that saved a bit, next on the list was to .. actually uninstall some of the packages needed for building.
Which didn't change much. Still at 1.15 gb.
from rocker.
Related Issues (20)
- Distroless R? HOT 2
- Use reticulate and python in docker container to deploy plumber api HOT 1
- libk5crypto in r-base image doesn't work: "Random number generator could not be seeded while getting initial credentials" HOT 8
- rocker/r-base:4.2.1: addgroup: addgroup with two arguments is an unspecified operation. HOT 3
- r-base:4.1.2 and higher on ppc64le does not work. HOT 4
- apt-get install failing for libssl-dev with dpkg error in docker build HOT 6
- Cannot connect to SQL database HOT 4
- cannot build docker due to usrmerge failing HOT 4
- `'lib = "/usr/local/lib/R/site-library"' is not writable` error when install R packages by non-root user HOT 3
- wiki: best practices for creating dockerfiles HOT 6
- `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
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.