summaryrefslogtreecommitdiff
path: root/docker-compose/Pkgfile
diff options
context:
space:
mode:
authorMatt Housh <jaeger@crux.ninja>2021-12-02 17:17:53 -0600
committerMatt Housh <jaeger@crux.ninja>2021-12-02 17:18:03 -0600
commitfdd6434956235c23f645cd0c3dcc238352d2ea20 (patch)
tree310773bcfd768a6cd05b5cf8dd00ff7780c36d38 /docker-compose/Pkgfile
parent2f81192de0ef4e15637a777610bf74efe2272ae8 (diff)
downloadcontrib-fdd6434956235c23f645cd0c3dcc238352d2ea20.tar.gz
contrib-fdd6434956235c23f645cd0c3dcc238352d2ea20.tar.xz
docker-compose: updated to version 2.2.1; NOTE: this is v2 and now depends on go rather than python
Diffstat (limited to 'docker-compose/Pkgfile')
-rw-r--r--docker-compose/Pkgfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/docker-compose/Pkgfile b/docker-compose/Pkgfile
index c03bb5011..432dcf82c 100644
--- a/docker-compose/Pkgfile
+++ b/docker-compose/Pkgfile
@@ -1,15 +1,18 @@
# Description: Compose is a tool for defining and running multi-container Docker applications
# URL: https://docs.docker.com/compose/
# Maintainer: Matt Housh, jaeger at crux dot ninja
-# Depends on: python3-jsonschema python3-six python3-dockerpty python3-docker python3-websocket-client python3-texttable python3-requests python3-yaml python3-docopt python3-cached-property python3-importlib_metadata python3-pyrsistent python3-attrs python3-paramiko python3-zipp python3-pynacl python3-bcrypt python3-distro python3-dotenv
+# Depends on: go
name=docker-compose
-version=1.29.2
+version=2.2.1
release=1
-source=(https://github.com/docker/compose/archive/$version/$name-$version.tar.gz)
+source=(https://github.com/docker/compose/archive/v$version/$name-$version.tar.gz)
build() {
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CXXFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
cd compose-$version
- python3 setup.py build
- python3 setup.py install --root=$PKG
+ go build -trimpath -o ${name} ./cmd
+ install -Dm0755 ${name} ${PKG}/usr/bin/${name}
}

Generated by cgit