mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 18:50:04 -03:30
Install subman and set ACL for rhsm.conf for dev
This commit is contained in:
@@ -71,7 +71,6 @@ RUN cd /tmp && make requirements_collections
|
|||||||
{% if build_dev|bool %}
|
{% if build_dev|bool %}
|
||||||
ADD requirements/requirements_dev.txt /tmp/requirements
|
ADD requirements/requirements_dev.txt /tmp/requirements
|
||||||
RUN cd /tmp && make requirements_awx_dev requirements_ansible_dev
|
RUN cd /tmp && make requirements_awx_dev requirements_ansible_dev
|
||||||
RUN setfacl -m u:awx:r /etc/rhsm/rhsm.conf
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not build_dev|bool %}
|
{% if not build_dev|bool %}
|
||||||
COPY {{ awx_sdist_file }} /tmp/{{ awx_sdist_file }}
|
COPY {{ awx_sdist_file }} /tmp/{{ awx_sdist_file }}
|
||||||
@@ -100,6 +99,7 @@ RUN dnf -y install \
|
|||||||
libX11-xcb \
|
libX11-xcb \
|
||||||
libXScrnSaver \
|
libXScrnSaver \
|
||||||
strace \
|
strace \
|
||||||
|
subscription-manager \
|
||||||
vim \
|
vim \
|
||||||
nmap-ncat \
|
nmap-ncat \
|
||||||
nodejs \
|
nodejs \
|
||||||
@@ -111,6 +111,7 @@ RUN dnf -y install \
|
|||||||
diffutils \
|
diffutils \
|
||||||
unzip && \
|
unzip && \
|
||||||
npm install -g n && n 10.15.0 && dnf remove -y nodejs
|
npm install -g n && n 10.15.0 && dnf remove -y nodejs
|
||||||
|
RUN setfacl -m u:1000:r /etc/rhsm/rhsm.conf
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Install runtime requirements
|
# Install runtime requirements
|
||||||
|
|||||||
Reference in New Issue
Block a user