diff options
author | Monty Taylor <mordred@inaugust.com> | 2020-06-25 17:14:35 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2020-06-26 08:29:47 -0500 |
commit | eec7b303fb73335647282ce964fb38d7f8a0da83 (patch) | |
tree | 4b6bc6b7778d82a9817cd0a2cb98fcf85f62ac0c /Dockerfile | |
parent | b34f9ffe343b61cf144ae2f992c238a633d7bb10 (diff) | |
download | zuul-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
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 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 |