Git Product home page Git Product logo

docker-layered-fatjar's Introduction

docker-layered-fatjar's People

Contributors

vic avatar

Watchers

 avatar  avatar

docker-layered-fatjar's Issues

Expose library as nix flake.

Given that we depend on nix.dockerTools.buildLayeredImage we should provide a nix flake for easy integration on external proyects.

Provide mill extension.

Not sure if applicable on this repo, but given that this was created to be used on scala projects, it would be nice to have a mill module that can build a layered image from an mill assembly jar.

Also provide example app.

Allow chaning size threshold per layer. Currently hardcoded to 2M.

Currently the script splits the fatjar searching for directories > 2M in size, with the assumption that big folders are not likely changing from release to release. Most of the time, they are metadata-resources or other libraries.

For example, on a big project we have this results (splitting by >2M) but it would be fine to let the use customize this limit.

Screen Shot 2022-10-04 at 15 30 17

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.