News for hackers. Stuff that matters.
Re:A lesson in dockerizing shell scripts by gkfasdfasdf on Saturday February 03, 2024 @07:58PM (#39246418)
dive is amazing. One thing I realized by using the tool is that chmoding a file from an earlier layer results in that file (in it's entirety) getting added to the current layer. E.g. the below Dockerfile creates an alpine image that is around double the size of the original alpine image:

    FROM alpine

    RUN chmod -R a+rwx bin dev home lib media mnt opt root run sbin srv tmp usr var

There are no comments on this comment yet.