From 464f68bd583ab848bd060db1385d8c7c47eeebab Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Thu, 10 Oct 2024 22:14:36 -0400 Subject: [PATCH] WIP Add pulp-ui to pulp image --- images/pulp/stable/Containerfile | 9 +++++++++ images/s6_assets/nginx.conf.j2 | 11 +++++++++++ images/s6_assets/template_nginx.py | 2 ++ 3 files changed, 22 insertions(+) diff --git a/images/pulp/stable/Containerfile b/images/pulp/stable/Containerfile index 322a75d3..c89e8271 100644 --- a/images/pulp/stable/Containerfile +++ b/images/pulp/stable/Containerfile @@ -12,7 +12,9 @@ ARG PULP_MAVEN_VERSION="" ARG PULP_PYTHON_VERSION="" ARG PULP_RPM_VERSION="" ARG PULP_OSTREE_VERSION="" +ARG PULP_UI_URL="" +ENV PULP_UI=true COPY images/assets/requirements.extra.txt /requirements.extra.txt RUN pip3 install --upgrade \ @@ -39,3 +41,10 @@ USER root:root RUN ln $(pip3 show pulp_ansible | sed -n -e 's/Location: //p')/pulp_ansible/app/webserver_snippets/nginx.conf /etc/nginx/pulp/pulp_ansible.conf RUN ln $(pip3 show pulp_container | sed -n -e 's/Location: //p')/pulp_container/app/webserver_snippets/nginx.conf /etc/nginx/pulp/pulp_container.conf RUN ln $(pip3 show pulp_python | sed -n -e 's/Location: //p')/pulp_python/app/webserver_snippets/nginx.conf /etc/nginx/pulp/pulp_python.conf + +RUN <