[packages/docker-buildx] new
atler
atler at pld-linux.org
Thu Dec 19 15:07:04 CET 2024
commit 506fa809cd8ba357136e7c77f7c902de38e053bb
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Dec 19 14:23:04 2024 +0100
new
docker-buildx.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
---
diff --git a/docker-buildx.spec b/docker-buildx.spec
new file mode 100644
index 0000000..1a53cbf
--- /dev/null
+++ b/docker-buildx.spec
@@ -0,0 +1,55 @@
+Summary: Docker CLI plugin for extended build capabilities
+Name: docker-buildx
+Version: 0.19.3
+Release: 1
+License: Apache v2.0
+Group: Applications/System
+Source0: https://github.com/docker/buildx/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: ef64a5eb3045afefc87bf9d9f6d52560
+URL: https://github.com/docker/buildx
+BuildRequires: golang >= 1.22.0
+BuildRequires: rpmbuild(macros) >= 2.009
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: docker-ce-cli
+ExclusiveArch: %go_arches
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _debugsource_packages 0
+
+%description
+buildx is a Docker CLI plugin for extended build capabilities with
+BuildKit.
+
+Key features:
+- Familiar UI from docker build
+- Full BuildKit capabilities with container driver
+- Multiple builder instance support
+- Multi-node builds for cross-platform images
+- Compose build support
+- High-level build constructs (bake)
+- In-container driver support (both Docker and Kubernetes)
+
+%prep
+%setup -q -n buildx-%{version}
+
+%build
+%{__make} build \
+ BUILDX_BIN=/bin/false \
+ VERSION="%{version}" \
+ REVISION="%{release}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libexecdir}/docker/cli-plugins}
+
+cp -p bin/build/docker-buildx $RPM_BUILD_ROOT%{_libexecdir}/docker/cli-plugins
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS PROJECT.md README.md
+%attr(755,root,root) %{_libexecdir}/docker/cli-plugins/docker-buildx
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/docker-buildx.git/commitdiff/506fa809cd8ba357136e7c77f7c902de38e053bb
More information about the pld-cvs-commit
mailing list