Giter Club home page Giter Club logo

Comments (4)

jwtodd avatar jwtodd commented on August 23, 2024

i don't understand the premise, in that a simple google search turns up dockerfile+sed a plenty:

https://www.google.com/search?q=dockerfile+sed&oq=dockerfile+sed&aqs=chrome..69i57.2036j0j1&sourceid=chrome&ie=UTF-8

what is the real concern?

i personally do not feel this is a significant concern.

very open to improvements, i just would like to understand the concrete concerns/objectives.

thoughts?

from wasabi.

felixgao avatar felixgao commented on August 23, 2024

Just because people are doing it does not mean it is the right thing to do. The concern is docker uses something called aufs which is a write once file system. Have sed in the script will cause docker to generate a new layer and the more layer there is in the docker image the slower it is and the more file system resource it takes. Also having sed means you are not make the image completely immutable which is a bad practice as well.

from wasabi.

iizrailevsky avatar iizrailevsky commented on August 23, 2024

@felixgao Mind creating a pull request with proposed changes to the script(s)? As we had discussed, we own these together as Wasabi committers. If you see areas of improvement, you're empowered to work on the updates to the artifacts and propose them as a PR.

from wasabi.

shoeffner avatar shoeffner commented on August 23, 2024

@felixgao do you mind taking a look at https://github.com/intuit/wasabi/pull/78/files#diff-a02022c11f2de6a41f82f8a76f5e0d3cR19 ? It still contains sed in the Dockerfile but much fewer layers around it. Otherwise how should we approach this?

from wasabi.

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.