Remove USER directive

This commit is contained in:
Jon Ervine 2021-03-02 22:13:41 +08:00
parent e2c161190d
commit a7c0a5e150

View File

@ -6,8 +6,6 @@ ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
USER root
# Install runtime requirements # Install runtime requirements
RUN dnf -y python3 gcc python3-pip && \ RUN dnf -y python3 gcc python3-pip && \
/usr/bin/python3 -m venv extra-modules /var/lib/awx/my-venv/extra-modules /usr/bin/python3 -m venv extra-modules /var/lib/awx/my-venv/extra-modules