package created using the webbuild interface [release 0.13.1-1mamba;Sun Apr 14 2024]

This commit is contained in:
Silvan Calarco 2024-04-15 10:38:34 +02:00
parent ecb60c2bb8
commit c9bfef17fe
2 changed files with 48 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# docker-buildx
Docker CLI plugin for extended build capabilities with BuildKit.

46
docker-buildx.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.13.1-1mamba
- package created using the webbuild interface