Giter VIP home page Giter VIP logo

Comments (2)

jacobemcken avatar jacobemcken commented on June 3, 2024 2

I found this issue when I realized my ClojureScript builds with Shadow-Cljs were failing.

The easiest temporary workaround for me was to downgrade shadow-cljs to version 2.19.6. Version 2.19.7 introduces the dependency to Java 11+ (indirectly through a newer version of the Google Closure Compiler).

from build-image.

jacobemcken avatar jacobemcken commented on June 3, 2024

I've looked further into this issue, because I wanted to see how hard it would be to create a PR.

DISCLAIMER: I am not Docker or Java or Linux expert, so read the following with that in mind.

According to http://packages.ubuntu.com the Debian (amd64) packages will take up the following space once installed:

Currently, the Docker "build image" takes up 2.12GB (just built it locally).
In my book, that would mean that for every Java version extra installed, the build image size would increase with at least 10%.

It seems all the Java packages contain the following zip file, with the source code for the Java release
It takes up a considerable amount of space on the disk (around 50Mb):
/usr/lib/jvm/java-11-openjdk-amd64/lib/src.zip

Dunno, how important that file is.

Trade offs, trade offs 🤷

from build-image.

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.