From c9bfef17feca91dedf48fee40a4f508869911091 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 15 Apr 2024 10:38:34 +0200 Subject: [PATCH] package created using the webbuild interface [release 0.13.1-1mamba;Sun Apr 14 2024] --- README.md | 2 ++ docker-buildx.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 docker-buildx.spec diff --git a/README.md b/README.md index 67d92a9..44ee238 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # docker-buildx +Docker CLI plugin for extended build capabilities with BuildKit. + diff --git a/docker-buildx.spec b/docker-buildx.spec new file mode 100644 index 0000000..336488b --- /dev/null +++ b/docker-buildx.spec @@ -0,0 +1,46 @@ +Name: docker-buildx +Version: 0.13.1 +Release: 1mamba +Summary: Docker CLI plugin for extended build capabilities with BuildKit +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/docker/buildx +Source: https://github.com/docker/buildx.git/v%{version}/buildx-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END + +%description +Docker CLI plugin for extended build capabilities with BuildKit. + +%debug_package + +%prep +%setup -q -n buildx-%{version} + +%build +export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + +go build -mod=vendor -o docker-buildx -ldflags "-linkmode=external \ + -compressdwarf=false" \ + ./cmd/buildx + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +install -Dm755 docker-buildx %{buildroot}%{_prefix}/lib/docker/cli-plugins/docker-buildx + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_prefix}/lib/docker/cli-plugins/docker-buildx +%doc AUTHORS LICENSE + +%changelog +* Sun Apr 14 2024 Silvan Calarco 0.13.1-1mamba +- package created using the webbuild interface