[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/29: gnu: docker: Apply "-trimpath" flag.
From: |
guix-commits |
Subject: |
16/29: gnu: docker: Apply "-trimpath" flag. |
Date: |
Sat, 29 Jun 2024 04:40:31 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 6d520b8c0c8ac562f8275cbb8f77bf6ebacd2444
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Jun 19 22:38:00 2024 +0100
gnu: docker: Apply "-trimpath" flag.
* gnu/packages/docker.scm (docker) [arguments]:
<#:phases>: Remove 'remove-go-references phase.
Set BUILDFLAGS=-trimpath to replace 'remove-go-references phase in
'build phase.
Change-Id: Iada1a8764808d26e476ca8ca87a23061834f78be
---
gnu/packages/docker.scm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm
index b18de182fe..c033486c6a 100644
--- a/gnu/packages/docker.scm
+++ b/gnu/packages/docker.scm
@@ -547,6 +547,7 @@ runcexecutor/executor.go"
;; Our LD doesn't like the statically linked relocatable things
;; that go produces, so install the dynamic version of
;; dockerd instead.
+ (setenv "BUILDFLAGS" "-trimpath")
(invoke "hack/make.sh" "dynbinary")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
@@ -570,9 +571,7 @@ runcexecutor/executor.go"
(install-file "bundles/dynbinary-daemon/dockerd" out-bin)
(install-file (string-append
"bundles/dynbinary-daemon/dockerd-"
(getenv "VERSION"))
- out-bin))))
- (add-after 'install 'remove-go-references
- (assoc-ref go:%standard-phases 'remove-go-references)))))
+ out-bin)))))))
(inputs
(list btrfs-progs
containerd ; for containerd-shim
- 10/29: gnu: go-1.22: Update to 1.22.2., (continued)
- 10/29: gnu: go-1.22: Update to 1.22.2., guix-commits, 2024/06/29
- 15/29: gnu: skopeo: Apply "-trimpath" flag., guix-commits, 2024/06/29
- 18/29: gnu: dstask: Apply "-trimpath" flag., guix-commits, 2024/06/29
- 20/29: gnu: Remove go-golang.org-x-sync-semaphore., guix-commits, 2024/06/29
- 09/29: gnu: go-1.22: Update to 1.22.1., guix-commits, 2024/06/29
- 11/29: gnu: go-1.22: Disable flakey tests., guix-commits, 2024/06/29
- 12/29: gnu: go-google-golang-org-protobuf: Update to 1.31.0., guix-commits, 2024/06/29
- 14/29: gnu: go-github-com-golang-protobuf-proto: Adjust package name., guix-commits, 2024/06/29
- 19/29: gnu: Remove go-golang.org-x-sync-errgroup., guix-commits, 2024/06/29
- 13/29: gnu: go-github-com-golang-protobuf-proto: Update to 1.5.3., guix-commits, 2024/06/29
- 16/29: gnu: docker: Apply "-trimpath" flag.,
guix-commits <=
- 17/29: gnu: nncp: Apply "-trimpath" flag., guix-commits, 2024/06/29
- 23/29: gnu: go-golang-org-x-sync: Fix indentation., guix-commits, 2024/06/29
- 25/29: gnu: go-golang-org-x-sys: Enable tests., guix-commits, 2024/06/29
- 21/29: gnu: go-golang-org-x-sync: Enable tests., guix-commits, 2024/06/29
- 28/29: gnu: go-golang-org-x-crypto: Update to 0.14.0., guix-commits, 2024/06/29
- 29/29: gnu: matterbridge: Swap to go-build-system., guix-commits, 2024/06/29
- 24/29: gnu: go-golang-org-x-sync: Improve description., guix-commits, 2024/06/29
- 27/29: gnu: go-golang-org-x-sys: Fix indentation., guix-commits, 2024/06/29
- 26/29: gnu: go-golang-org-x-sys: Update to 0.21.0., guix-commits, 2024/06/29
- 22/29: gnu: go-golang-org-x-sync: Update to 0.7.0., guix-commits, 2024/06/29