Skip to content

Commit

Permalink
[ub8] Debug runner ansible in ubi distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
startx-lab committed Dec 20, 2021
1 parent 16d52f4 commit bcc07a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GitlabRunner/ansible/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ RUN dnf upgrade -yq --refresh && \
tar xzvf hugo_${SX_HUGO_RELEASE}_Linux-64bit.tar.gz && \
mv hugo /usr/bin/ && \
cd - && \
useradd -d /home/ansible -m -u 1001 -g 0 ${SX_UNAME} && \
useradd -d /home/ansible -m -u 1002 -g 0 ${SX_UNAME} && \
mkdir -p /.ansible && \
chgrp -R 0 /.ansible && \
chown -R 1001:0 /.ansible && \
chown -R 1002:0 /.ansible && \
chmod -R g=u /.ansible

USER 1001
USER 1002

CMD [ "/bin/sx" , "usage" ]

0 comments on commit bcc07a3

Please sign in to comment.