GithubHelp home page GithubHelp logo

Leftover files in /tmp about rocker HOT 5 CLOSED

rocker-org avatar rocker-org commented on June 25, 2024
Leftover files in /tmp

from rocker.

Comments (5)

eddelbuettel avatar eddelbuettel commented on June 25, 2024

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.

eddelbuettel avatar eddelbuettel commented on June 25, 2024

Done in e173fb5

from rocker.

wch avatar wch commented on June 25, 2024

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.

eddelbuettel avatar eddelbuettel commented on June 25, 2024

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.

eddelbuettel avatar eddelbuettel commented on June 25, 2024

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)

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.