mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-27 03:13:08 +00:00
docker container should now be able to be run as an arbitrary user (#12)
This commit is contained in:
committed by
GitHub
parent
73522d3b53
commit
06e7db3ef8
@@ -27,7 +27,7 @@ WORKDIR /opt/ansible
|
||||
RUN echo "${USER_NAME}:x:${USER_UID}:0:${USER_NAME} user:${HOME}:/sbin/nologin" >> /etc/passwd \
|
||||
&& mkdir -p "${HOME}/.ansible/tmp" \
|
||||
&& chown -R "${USER_UID}:0" "${HOME}" \
|
||||
&& chmod -R ug+rw "${HOME}"
|
||||
&& chmod -R ug+rwX "${HOME}"
|
||||
|
||||
|
||||
USER ${USER_UID}
|
||||
|
||||
Reference in New Issue
Block a user