Git Product home page Git Product logo

Comments (2)

IBMRob avatar IBMRob commented on August 22, 2024

Hi,

In terms of the issue around layers, I would recommend putting multiple of your commands onto a single RUN command - this will enable you to perform a number of your commands in a single layer. This is a great blog all around developing effecting images - https://emmer.dev/blog/reducing-docker-layers.

The size of the image is something we are looking at in the future. As you will see in this repo we have got some experimental work around reducing the image sizes in https://github.com/ot4i/ace-docker/tree/main/experimental/ace-minimal. Is there a size of image that you think is the max target. For this issue I would recommend raising an Idea
l in https://integration-development.ideas.ibm.com/ideas/?project=APPC.

Note this repo is not designed for support tickets for CP4I or ACE, it's purely for the samples provided in this repo.

from ace-docker.

abudavis avatar abudavis commented on August 22, 2024

Hi,

In terms of the issue around layers, I would recommend putting multiple of your commands onto a single RUN command - this will enable you to perform a number of your commands in a single layer. This is a great blog all around developing effecting images - https://emmer.dev/blog/reducing-docker-layers.

The size of the image is something we are looking at in the future. As you will see in this repo we have got some experimental work around reducing the image sizes in https://github.com/ot4i/ace-docker/tree/main/experimental/ace-minimal. Is there a size of image that you think is the max target. For this issue I would recommend raising an Idea l in https://integration-development.ideas.ibm.com/ideas/?project=APPC.

Note this repo is not designed for support tickets for CP4I or ACE, it's purely for the samples provided in this repo.

Thank you for the quick reply and suggestions.
The image size is starting to become a big problem especially since the ACE + ACE Manufacturing pack (now supports container deployments) image is large with our EDGE sites having very limited local storage/ephemeral storage. I would think the image size would be within 500MB at the most which isn't the case with ACE at the moment.

from ace-docker.

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.