diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-14 14:54:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-14 14:55:25 +0000 |
commit | b4d83a4728d6a19d766ab0ab1f53e27aef2d6407 (patch) | |
tree | 1e922cf49a607c545d42689e07247801fac09ff9 /testing/docker-volume-local-persist | |
parent | ecfa4c03eb9313fcc9d8119bcb5176d782e3207a (diff) | |
download | aports-b4d83a4728d6a19d766ab0ab1f53e27aef2d6407.tar.bz2 aports-b4d83a4728d6a19d766ab0ab1f53e27aef2d6407.tar.xz |
testing/docker-volume-local-persist: new aport
Local Persist Volume Plugin for Docker
https://github.com/CWSpear/local-persist
fixes #7616
Diffstat (limited to 'testing/docker-volume-local-persist')
-rw-r--r-- | testing/docker-volume-local-persist/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/docker-volume-local-persist/APKBUILD b/testing/docker-volume-local-persist/APKBUILD new file mode 100644 index 0000000000..be6a2c0e29 --- /dev/null +++ b/testing/docker-volume-local-persist/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=docker-volume-local-persist +pkgver=1.3.0 +pkgrel=0 +pkgdesc="Local Persist Volume Plugin for Docker" +url="https://github.com/CWSpear/local-persist" +arch="all" +license="MIT" +depends="docker" +makedepends="go" +install="" +subpackages="" +source="docker-local-persist-$pkgver.tar.gz::https://github.com/CWSpear/local-persist/archive/v$pkgver.tar.gz" +builddir="$srcdir/local-persist-$pkgver" + +build() { + cd "$builddir" + export GOPATH="$startdir" + glide install --skip-test + go build -v -ldflags "-s -w" \ + -o bin/local-persist +} + +package() { + cd "$builddir" + install -Dm755 bin/local-persist \ + "$pkgdir"/usr/bin/docker-volume-local-persist +} + +sha512sums="43a061c937c84eaab817dc62e4be5adfee960e357a2eea504e87c8e5fda32f5a835dc6d145f7d787f4907cd592a04c0159455d8d28d40e158f5a93c4e4fc060a docker-local-persist-1.3.0.tar.gz" |