contrib/packaging/docker/centos5
changeset 38457 11eda1f1b6e7
parent 38003 1335bbfb066f
child 41234 4c0d4bbdc395
--- a/contrib/packaging/docker/centos5	Fri Jun 15 00:50:48 2018 +0530
+++ b/contrib/packaging/docker/centos5	Sat May 12 15:51:37 2018 -0700
@@ -1,4 +1,8 @@
 FROM centos:centos5
+
+RUN groupadd -g 1000 build && \
+    useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
+
 RUN \
 	sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo && \
 	sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo && \