summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2020-06-25 17:14:35 -0500
committerMonty Taylor <mordred@inaugust.com>2020-06-26 08:29:47 -0500
commiteec7b303fb73335647282ce964fb38d7f8a0da83 (patch)
tree4b6bc6b7778d82a9817cd0a2cb98fcf85f62ac0c
parentb34f9ffe343b61cf144ae2f992c238a633d7bb10 (diff)
downloadzuul-eec7b303fb73335647282ce964fb38d7f8a0da83.tar.gz
Add krb5-user to bindep for the images
We added openafs-krb5 but we need krb5-user for kinit. Add DEBIAN_FRONTEND=noninteractive to the Dockerfile to prevent the krb5-user package from asking for our default realm. Change-Id: Ifbef43887e541a3edc259ffaf9a75d7343c97dca
-rw-r--r--Dockerfile6
-rw-r--r--bindep.txt1
2 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 378a76eb9..618d27e8c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,13 +27,13 @@ COPY . /tmp/src
RUN /tmp/src/tools/install-js-tools.sh
# Explicitly run the Javascript build
RUN cd /tmp/src/web && yarn install -d && yarn build
-RUN assemble
+RUN DEBIAN_FRONTEND=noninteractive assemble
# The wheel install method doesn't run the setup hooks as the source based
# installations do so we have to call zuul-manage-ansible here. Remove
# /root/.local/share/virtualenv after because it adds wheels into /root
# that we don't need after the install step so are a waste of space.
-RUN /output/install-from-bindep && zuul-manage-ansible && rm -rf /root/.local/share/virtualenv
+RUN DEBIAN_FRONTEND=noninteractive /output/install-from-bindep && zuul-manage-ansible && rm -rf /root/.local/share/virtualenv
RUN mkdir /tmp/openshift-install \
&& curl -L $OPENSHIFT_URL -o /tmp/openshift-install/openshift-client.tgz \
@@ -44,7 +44,7 @@ RUN mkdir /tmp/openshift-install \
FROM docker.io/opendevorg/python-base:3.7 as zuul
COPY --from=builder /output/ /output
-RUN /output/install-from-bindep \
+RUN DEBIAN_FRONTEND=noninteractive /output/install-from-bindep \
&& pip install --cache-dir=/output/wheels -r /output/zuul_base/requirements.txt \
&& rm -rf /output
RUN useradd -u 10001 -m -d /var/lib/zuul -c "Zuul Daemon" zuul
diff --git a/bindep.txt b/bindep.txt
index fe7de17f9..56d61add6 100644
--- a/bindep.txt
+++ b/bindep.txt
@@ -61,3 +61,4 @@ openssh-client [platform:debian platform:apk]
openssh [platform:rpm]
coreutils [platform:apk]
openafs-krb5 [platform:debian]
+krb5-user [platform:debian]