mirror of
https://abf.rosa.ru/djam/compose-cli.git
synced 2025-02-23 16:23:00 +00:00
Imported from SRPM
This commit is contained in:
commit
2a4fbb9729
2 changed files with 46 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
compose-cli-1.0.5.tar.gz: 6d4389a4e71db7de49ebdb5a72087cc9f481c7c5
|
44
compose-cli.spec
Normal file
44
compose-cli.spec
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Name: compose-cli
|
||||||
|
Version: 1.0.5
|
||||||
|
Release: 1
|
||||||
|
Summary: Docker compose cli on GO
|
||||||
|
URL: https://github.com/docker/compose-cli
|
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: ASL 2.0
|
||||||
|
Group: Development/Other
|
||||||
|
BuildRequires: go
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: upx
|
||||||
|
Requires: docker
|
||||||
|
|
||||||
|
%description
|
||||||
|
This CLI tool makes it easy to run Docker containers and
|
||||||
|
Docker Compose applications in the cloud using either
|
||||||
|
Amazon Elastic Container Service (ECS) or Microsoft
|
||||||
|
Azure Container Instances (ACI) using the Docker
|
||||||
|
commands you already know.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make -f builder.Makefile BINARY=bin/%{name}
|
||||||
|
|
||||||
|
upx bin/%{name}
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%post
|
||||||
|
cd /usr/bin
|
||||||
|
ln -s docker com.docker.cli
|
||||||
|
|
||||||
|
%postun
|
||||||
|
rm -f %{_bindir}/com.docker.cli
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/%{name}
|
Loading…
Add table
Reference in a new issue