Added ansible to USER

This commit is contained in:
Jon Ervine 2021-05-19 22:08:03 +08:00
parent 8e0a7a90a2
commit cb673b3df2

View File

@ -16,5 +16,5 @@ COPY --from=galaxy /usr/share/ansible /usr/share/ansible
RUN alternatives --set python /usr/bin/python3 && useradd -c "Ansible User" -M -u 1000 ansible
CMD /run.sh
USER 1000
USER ansible
RUN git lfs install