News for hackers. Stuff that matters.
Re:A lesson in dockerizing shell scripts by m463 on Sunday February 04, 2024 @07:39AM (#39249766)
do all those COPY lines result in intermediate layers?

Could you maybe modify stage 2 to:

    FROM scratch as stage2
    
    COPY ...
    COPY ...
    ...
and finally at the end:

  FROM SCRATCH

  COPY --from=stage2 / /

There are no comments on this comment yet.