Begin integrating receptor

This commit is contained in:
Shane McDonald
2020-11-12 16:34:18 -05:00
committed by Shane McDonald
parent 521d3d5edb
commit f1df4c54f8
7 changed files with 99 additions and 58 deletions

View File

@@ -143,11 +143,6 @@ RUN ansible-galaxy collection install --collections-path /usr/share/ansible/coll
RUN rm -rf /root/.cache && rm -rf /tmp/*
# Install Receptor
RUN cd /usr/local/bin && \
curl -L http://nightlies.testing.ansible.com/receptor/receptor --output receptor && \
chmod a+x receptor
# Install OpenShift CLI
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 | \
@@ -190,6 +185,7 @@ COPY --from=builder /var/lib/awx /var/lib/awx
RUN ln -s /var/lib/awx/venv/awx/bin/awx-manage /usr/bin/awx-manage
{%if build_dev|bool %}
COPY --from=quay.io/shanemcd/receptor /usr/bin/receptor /usr/bin/receptor
RUN openssl req -nodes -newkey rsa:2048 -keyout /etc/nginx/nginx.key -out /etc/nginx/nginx.csr \
-subj "/C=US/ST=North Carolina/L=Durham/O=Ansible/OU=AWX Development/CN=awx.localhost" && \
openssl x509 -req -days 365 -in /etc/nginx/nginx.csr -signkey /etc/nginx/nginx.key -out /etc/nginx/nginx.crt && \