-
-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: buildkit with multi stage build #2025
Conversation
…stage_build # Conflicts: # .docker/Dockerfile-build
5728f5d
to
0d28e8c
Compare
@@ -1,4 +1,5 @@ | |||
FROM golang:1.16.10-alpine3.14 AS builder | |||
FROM golang:1.17-alpine3.15 AS base | |||
# syntax = docker/dockerfile:1-experimental |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be the first line in the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I do not like to use it and instead rely on Docker 20+ already supporting those additional features. The reason why I do not like it is because if you provide it it makes Docker always pull the docker/dockerfile
image first, before doing anything else, which delays the build process.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this has been merged with the "comment" in the wrong line. This way it does nothing and is very missleading.
Co-authored-by: abador <[email protected]>
Closes #1948
Related issue(s)
Checklist
introduces a new feature.
contributing code guidelines.
vulnerability. If this pull request addresses a security. vulnerability, I
confirm that I got green light (please contact
[email protected]) from the maintainers to push
the changes.
works.
Further Comments