From 64b9e947a86abb6512636292d5275ab9164d0510 Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Mon, 21 Oct 2024 17:02:32 -0400 Subject: [PATCH] Update ui templating to handle new config.json --- images/pulp/stable/Containerfile | 6 +++--- images/s6_assets/nginx.conf.j2 | 9 ++++++--- images/s6_assets/template_nginx.py | 20 +++++++++++++++++++- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/images/pulp/stable/Containerfile b/images/pulp/stable/Containerfile index c89e8271..dde781f4 100644 --- a/images/pulp/stable/Containerfile +++ b/images/pulp/stable/Containerfile @@ -14,7 +14,7 @@ ARG PULP_RPM_VERSION="" ARG PULP_OSTREE_VERSION="" ARG PULP_UI_URL="" -ENV PULP_UI=true +ENV PULP_UI=${PULP_UI_URL:-false} COPY images/assets/requirements.extra.txt /requirements.extra.txt RUN pip3 install --upgrade \ @@ -44,7 +44,7 @@ RUN ln $(pip3 show pulp_python | sed -n -e 's/Location: //p')/pulp_python/app/we RUN <