Skip to content
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

[v0.10] cherry-picks for v0.10.4 #3048

Merged
merged 9 commits into from Aug 22, 2022
Merged

Conversation

jedevc and others added 9 commits August 21, 2022 17:49
Images built using docker-image:// passed through buildkit named
contexts had the wrong Image.Created timestamp, using the timestamp from
the used image, instead of the current datetime.

To fix, we perform the same input cleanup as in Dockerfile2LLB, and
explicitly set the timestamp to nil.

Signed-off-by: Justin Chadwell <me@jedevc.com>
(cherry picked from commit 63b2e01)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Justin Chadwell <me@jedevc.com>
(cherry picked from commit 59a295b)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Fixes image build contexts not respecting the platform specified in the
Dockerfile `FROM --platform` argument.
Before this change buildkit always resolves images using the target
platform, but `FROM` may specifiy something else (such as
$BUILDPLATFORM).

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit cc6137c)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Even when client does not release a container it should
be released automatically on disconnect.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 80aa8b4)
Signed-off-by: Corey Larson <corey@earthly.dev>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit b637861)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Exec could sometimes return nil, which would then result in a
segmentation fault, as the code attempts to access a field in the nil
result to return. This patch introduces a sanity check before accessing
any parts of the field.

Signed-off-by: Justin Chadwell <me@jedevc.com>
(cherry picked from commit c58f128)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit dfb08e3)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Sascha Schwarze <schwarzs@de.ibm.com>
(cherry picked from commit df16694)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 6644f16)
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi merged commit a2ba686 into moby:v0.10 Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants