Is there any reason not to use 'COPY --from=0 / /' to squash an image?

This page summarizes the projects mentioned and recommended in the original post on /r/docker

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • docker-slackware-build-essential

    Dockerfile for building a Slackware image with essential build tools

  • I've made this change to reduce a few layers. I kind of forgot about that method, because when I tried (when I first started learning docker) to do it using semicolons instead of ampersands, I had the problem where the build would complete and docker returned 0 even if some of the commands between semicolons would fail (I just made a PR to have that changed in the Docker docs).

  • buildkit

    concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit

  • I've made this change to reduce a few layers. I kind of forgot about that method, because when I tried (when I first started learning docker) to do it using semicolons instead of ampersands, I had the problem where the build would complete and docker returned 0 even if some of the commands between semicolons would fail (I just made a PR to have that changed in the Docker docs).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts