summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@redhat.com>2020-07-07 09:58:13 +0100
committerSorin Sbarnea <ssbarnea@redhat.com>2020-07-07 09:58:35 +0100
commit5a1954eb7bc0c715b4fec3b58ceb11bd8f79d960 (patch)
tree68a5bb99b1256692f8311b4b32345467dcb74fd8 /Dockerfile
parent22ddf90cc375f2576143656b8035c3fd8ccee954 (diff)
downloadzuul-5a1954eb7bc0c715b4fec3b58ceb11bd8f79d960.tar.gz
Avoid interactive when building containers
Fixed error observed locally when trying to reproduce CI command failure: debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Configuring openafs-client -------------------------- AFS filespace is organized into cells or administrative domains. Each workstation belongs to one cell. Usually the cell is the DNS domain name of the site. AFS cell this workstation belongs to: ^C Change-Id: I5e818d1fcdac360b13947c750c536ed5d0811cb9
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 378a76eb9..ed6b8ddf2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,6 +14,7 @@
# limitations under the License.
FROM docker.io/opendevorg/python-builder:3.7 as builder
+ENV DEBIAN_FRONTEND=noninteractive
# Optional location of Zuul API endpoint.
ARG REACT_APP_ZUUL_API
@@ -42,6 +43,7 @@ RUN mkdir /tmp/openshift-install \
&& tar xvfz openshift-client.tgz --strip-components=1 -C /tmp/openshift-install
FROM docker.io/opendevorg/python-base:3.7 as zuul
+ENV DEBIAN_FRONTEND=noninteractive
COPY --from=builder /output/ /output
RUN /output/install-from-bindep \
@@ -53,6 +55,7 @@ VOLUME /var/lib/zuul
CMD ["/usr/local/bin/zuul"]
FROM zuul as zuul-executor
+ENV DEBIAN_FRONTEND=noninteractive
COPY --from=builder /usr/local/lib/zuul/ /usr/local/lib/zuul
COPY --from=builder /tmp/openshift-install/kubectl /usr/local/bin/kubectl
COPY --from=builder /tmp/openshift-install/oc /usr/local/bin/oc