mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
docker.com/compose
This commit is contained in:
parent
6ee9a2270c
commit
fd13045796
1 changed files with 23 additions and 0 deletions
23
projects/docker.com/compose/package.yml
Normal file
23
projects/docker.com/compose/package.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/docker/compose/archive/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
github: docker/compose
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
go.dev: '*'
|
||||||
|
script:
|
||||||
|
- go build $ARGS -ldflags="$LDFLAGS" ./cmd
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -trimpath
|
||||||
|
- -o={{prefix}}/bin/docker-compose
|
||||||
|
LDFLAGS:
|
||||||
|
- -s
|
||||||
|
- -w
|
||||||
|
- -X github.com/docker/compose/v2/internal.Version={{version}}
|
||||||
|
provides:
|
||||||
|
- bin/docker-compose
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- docker-compose --version | grep {{version}}
|
Loading…
Reference in a new issue