Initial commit
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
# Locations - set globally to be used across stages
|
||||
# Final container(s)
|
||||
FROM centos:8
|
||||
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
USER root
|
||||
|
||||
# Install runtime requirements
|
||||
RUN dnf -y python3 gcc python3-pip && \
|
||||
/usr/bin/python3 -m venv extra-modules /var/lib/awx/my-venv/extra-modules
|
||||
|
||||
VOLUME /var/lib/awx/my-venv
|
||||
|
||||
CMD [ "/var/lib/awx/my-venv/extra-modules/bin/pip3", "install", "-r", "/tmp/extra-modules/requirements/txt" ]
|
||||
Reference in New Issue
Block a user