This website uses cookies to ensure you get the best experience.
Learn more.
A production image contains compilers and build credentials left from an earlier build step. Which build pattern best separates compilation from runtime delivery?
Published
- Add a Kubernetes namespace to the image name
- Keep one stage and rename the compiler binary
- Put build credentials in an image label for easier retrieval
- Use a multi-stage build and copy only required runtime artifacts into the final stage
Comments — 0
Sign in to comment