Code Monkey home page Code Monkey logo

Comments (2)

c0b avatar c0b commented on June 18, 2024

are you aware of https://github.com/docker-library/docs/pull/911/files it seems many users want to customize ONBUILD process but it doesn't have the flexibility

+The ONBUILD image variants are deprecated, and their usage is discouraged. For more details, see docker-library/official-images#2076.

I was keeping 19/onbuild/ directory only for travis-ci, but after I redesigned .travis-ci.yaml process the onbuild/ directory is no longer needed;

For your showed case, I agree it could be a good one, from above docker-library# the recommended way is we may document it as a good minimal example of using multi-stage build, it's just like for end users to copy all ONBUILD instructions

FROM erlang:19 as builder
# copy all ONBUILD instructions here

FROM ubuntu:16    # or from alpine:3.6
COPY --from=builder /opt/rel ...

from docker-erlang-otp.

tsloughter avatar tsloughter commented on June 18, 2024

Oh, weird, I was not aware. Then yea, your suggestion of it as a documentation piece is good.

from docker-erlang-otp.

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.