Skip to content

Commit

Permalink
Add nss_wrapper to Dockerfile.ci (openshift#1177)
Browse files Browse the repository at this point in the history
Adding nss_wrapper provides for a local, unprivileged passwd file to be specified,
allowing the container to map the required user information to a random UID without 
having to modify the containers /etc/passwd file directly.

Full explanation on https://access.redhat.com/articles/4859371
  • Loading branch information
YuviGold authored Jan 12, 2021
1 parent e45dde9 commit 6dcb07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

FROM registry.ci.openshift.org/openshift/release:golang-1.14
ENV HOME /output
RUN INSTALL_PKGS="ansible python-pip" && \
RUN INSTALL_PKGS="ansible python-pip nss_wrapper" && \
yum install -y $INSTALL_PKGS && \
pip install packet-python && \
ansible-galaxy collection install community.general && \
Expand Down

0 comments on commit 6dcb07b

Please sign in to comment.