Use start.sh script
This commit is contained in:
parent
91c07d61a7
commit
e38f66a8ea
@ -7,9 +7,10 @@ ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
# Install runtime requirements
|
||||
RUN dnf install -y python3 gcc python3-pip && \
|
||||
/usr/bin/python3 -m venv extra-modules /var/lib/awx/my-venv/extra-modules
|
||||
RUN dnf install -y python3 gcc python3-pip python3-devel
|
||||
|
||||
COPY start.sh /usr/local/bin/start.sh
|
||||
|
||||
VOLUME /var/lib/awx/my-venv
|
||||
|
||||
CMD [ "/var/lib/awx/my-venv/extra-modules/bin/pip3", "install", "-r", "/tmp/extra-modules/requirements/txt" ]
|
||||
CMD [ "/bin/bash", "/usr/local/bin/start.sh" ]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user