Upstream rsyslog packaging changes

- add rsyslog repo to Dockerfile for AWX installation
 - Update Library Notes for requests-futures removal
This commit is contained in:
Christian Adams
2020-01-14 10:15:50 -05:00
parent 589d27c88c
commit 955d57bce6
4 changed files with 18 additions and 4 deletions

View File

@@ -97,6 +97,10 @@ RUN cd /usr/local/bin && \
curl -L https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz | \
tar -xz --strip-components=1 --wildcards --no-anchored 'oc'
ADD rsyslog.repo /etc/yum.repos.d/
RUN yum install -y rsyslog-omhttp
RUN echo '$IncludeConfig /var/lib/awx/rsyslog.conf' >> /etc/rsyslog.conf
# Pre-create things that we need to write to
RUN for dir in /home/awx /var/log/tower /var/log/nginx /var/lib/nginx; \
do mkdir -p $dir; chmod -R g+rwx $dir; chgrp -R root $dir; done && \