aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-registry
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-20 15:27:56 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-20 15:28:36 +0200
commitd0e9919ac8a3fab813624065135d58dc2f412f6c (patch)
tree10cc207e76a1bc51836002d4f9571d8a23fba1be /community/docker-registry
parente0963bd5df6208af3dcbc6b625ac1d5a6dd43db8 (diff)
downloadaports-d0e9919ac8a3fab813624065135d58dc2f412f6c.tar.bz2
aports-d0e9919ac8a3fab813624065135d58dc2f412f6c.tar.xz
community/docker-registry: add basic check() function
Diffstat (limited to 'community/docker-registry')
-rw-r--r--community/docker-registry/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/docker-registry/APKBUILD b/community/docker-registry/APKBUILD
index 58e93b5e66..96a4624c01 100644
--- a/community/docker-registry/APKBUILD
+++ b/community/docker-registry/APKBUILD
@@ -38,6 +38,12 @@ build() {
|| return 1
}
+check() {
+ cd "$builddir"
+
+ ./bin/registry --version
+}
+
package() {
cd "$builddir"