From fd1304579677b5a8df5f75bf9d49bbf16f1a4b59 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Tue, 25 Jul 2023 11:18:58 +0300 Subject: [PATCH] docker.com/compose --- projects/docker.com/compose/package.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/docker.com/compose/package.yml diff --git a/projects/docker.com/compose/package.yml b/projects/docker.com/compose/package.yml new file mode 100644 index 00000000..02c6c279 --- /dev/null +++ b/projects/docker.com/compose/package.yml @@ -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}}