-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to version 27.2.0 - Rewrote the snappy-apparmor-tweaks patch to ensure it applies correctly. - Rewrote the snappy-buildkit-git-environ patch to ensure it applies correctly. - Updated Go from version 1.20 to 1.21. - Updated Moby from version v24.0.5 to v27.2.0. - Updated containerd from version v1.6.21 to v1.7.21. - Updated runc from version v1.1.12 to v1.1.13. - Solves #167. Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com> * fix: justify buildx version based on Dockerfile Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com> * refact: adulterate patch for identation Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com> --------- Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com>
- Loading branch information
Showing
3 changed files
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
From 9d87c45c50ebf6a5353e81f147a1c575d6e35f14 Mon Sep 17 00:00:00 2001 | ||
From: Lucas Kanashiro <lucas.kanashiro@canonical.com> | ||
Date: Wed, 23 Aug 2023 18:59:37 -0300 | ||
Subject: [PATCH 3/5] snappy-buildkit-git-environ | ||
From 65d421326d7edf6a96ce7b62d0c216d1b59e6509 Mon Sep 17 00:00:00 2001 | ||
From: Lincoln Wallace <lincoln.wallace@canonical.com> | ||
Date: Fri, 30 Aug 2024 11:52:32 -0300 | ||
Subject: [PATCH 3/5] snappy buildkit git environ | ||
|
||
Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com> | ||
--- | ||
vendor/github.com/moby/buildkit/source/git/gitsource.go | 3 +++ | ||
vendor/github.com/moby/buildkit/util/gitutil/git_cli.go | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/vendor/github.com/moby/buildkit/source/git/gitsource.go b/vendor/github.com/moby/buildkit/source/git/gitsource.go | ||
index dd35fe55f7..c811c09ead 100644 | ||
--- a/vendor/github.com/moby/buildkit/source/git/gitsource.go | ||
+++ b/vendor/github.com/moby/buildkit/source/git/gitsource.go | ||
@@ -666,6 +666,9 @@ func git(ctx context.Context, dir, sshAuthSock, knownHosts string, args ...strin | ||
cmd.Stderr = io.MultiWriter(stderr, errbuf) | ||
diff --git a/vendor/github.com/moby/buildkit/util/gitutil/git_cli.go b/vendor/github.com/moby/buildkit/util/gitutil/git_cli.go | ||
index 5c35f9365b..b0e0fb3aef 100644 | ||
--- a/vendor/github.com/moby/buildkit/util/gitutil/git_cli.go | ||
+++ b/vendor/github.com/moby/buildkit/util/gitutil/git_cli.go | ||
@@ -183,6 +183,9 @@ func (cli *GitCLI) Run(ctx context.Context, args ...string) (_ []byte, err error | ||
|
||
cmd.Env = []string{ | ||
"PATH=" + os.Getenv("PATH"), | ||
+ "LD_LIBRARY_PATH=" + os.Getenv("LD_LIBRARY_PATH"), | ||
+ "GIT_EXEC_PATH=" + os.Getenv("GIT_EXEC_PATH"), | ||
+ "GIT_TEMPLATE_DIR=" + os.Getenv("GIT_TEMPLATE_DIR"), | ||
+ "GIT_EXEC_PATH=" + os.Getenv("GIT_EXEC_PATH"), | ||
+ "GIT_TEMPLATE_DIR=" + os.Getenv("GIT_TEMPLATE_DIR"), | ||
"GIT_TERMINAL_PROMPT=0", | ||
"GIT_SSH_COMMAND=" + getGitSSHCommand(knownHosts), | ||
"GIT_SSH_COMMAND=" + getGitSSHCommand(cli.sshKnownHosts), | ||
// "GIT_TRACE=1", | ||
-- | ||
2.25.1 | ||
2.43.0 | ||
|
This file contains 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