mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
831f936f22
closes #3704
26 lines
567 B
YAML
26 lines
567 B
YAML
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}}
|
|
linux:
|
|
LDFLAGS:
|
|
- -buildmode=pie
|
|
provides:
|
|
- bin/docker-compose
|
|
test:
|
|
script:
|
|
- docker-compose --version | grep {{version}}
|