aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-registry/docker-registry.pre-install
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-10-18 18:57:56 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-21 05:59:15 +0000
commit7512e1a1baff6c538d8d585f49ea3d85c05f2402 (patch)
tree153e72874678df8fd1cd39a94e233db86961337f /community/docker-registry/docker-registry.pre-install
parentd747b8af645da710f03f135eeabd9b49031c7b4f (diff)
downloadaports-7512e1a1baff6c538d8d585f49ea3d85c05f2402.tar.bz2
aports-7512e1a1baff6c538d8d585f49ea3d85c05f2402.tar.xz
testing/docker-registry: move to community
Diffstat (limited to 'community/docker-registry/docker-registry.pre-install')
-rw-r--r--community/docker-registry/docker-registry.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/docker-registry/docker-registry.pre-install b/community/docker-registry/docker-registry.pre-install
new file mode 100644
index 0000000000..e921230cfc
--- /dev/null
+++ b/community/docker-registry/docker-registry.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S docker-registry 2>/dev/null
+adduser -S -H -h /dev/null -s /sbin/nologin -D -G docker-registry docker-registry 2>/dev/null
+exit 0