Repository navigation
Update Dockerfile build to use multi-stage build with container-features - #13
Merged
Christof Marti (chrmarti) merged 18 commits intoMay 18, 2022
Conversation
Stuart Leeks (stuartleeks)
force-pushed
the
stuartleeks/container-features-multistage-dockerfile
branch
7 times, most recently
from
May 17, 2022 08:15
37a2950 to
904df49
Compare
Stuart Leeks (stuartleeks)
marked this pull request as ready for review
May 17, 2022 09:11
3 tasks done
Stuart Leeks (stuartleeks)
force-pushed
the
stuartleeks/container-features-multistage-dockerfile
branch
from
May 17, 2022 13:05
e16399b to
d30fcfe
Compare
Stuart Leeks (stuartleeks)
force-pushed
the
stuartleeks/container-features-multistage-dockerfile
branch
2 times, most recently
from
May 17, 2022 19:34
fb8bb78 to
bc4c3ae
Compare
Stuart Leeks (stuartleeks)
force-pushed
the
stuartleeks/container-features-multistage-dockerfile
branch
2 times, most recently
from
May 18, 2022 09:40
af7f255 to
5e94965
Compare
useBuildKit skips the temporary image for container-features content and uses a build-context to pass the content instead
Add BUILDKIT_INLINE_CACHE so that pushed images contain cache manifest
When running the build with no TTY (e.g. in CI), running docker build commands with a PTY triggers the rich output which is hard to read in logs (and ends up significantly longer than desired)
Stuart Leeks (stuartleeks)
deleted the
stuartleeks/container-features-multistage-dockerfile
branch
May 18, 2022 10:04
1 task done
1 similar comment
This was referenced Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR to update the build for
Dockerfile-based dev containers to use a single multi-stage build (part of #10 )Adds a new
getExtendImageBuildInfofunction that creates the Dockerfile content for extending the base to add container-features. This is called from the existingextendImagefor image-based containers, and frombuildAndExtendImageto buildDockerfile-based dev containers in a single, multi-stage build step