From 19a9957755e4edcea1f5732fd7355f0d44f0d45b Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Thu, 2 Jun 2022 10:40:28 -0700 Subject: [PATCH] using ARG DEBIAN_FRONTEND=noninteractive --- docker/Dockerfile | 1 + docker/Dockerfile.collector | 2 +- docker/Dockerfile.web | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 94b6df0..5fded1e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,6 +33,7 @@ WORKDIR /opt/scrutiny ENV PATH="/opt/scrutiny/bin:${PATH}" ENV INFLUXD_CONFIG_PATH=/opt/scrutiny/influxdb +ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y cron smartmontools ca-certificates curl tzdata \ && update-ca-certificates \ && case ${TARGETARCH} in \ diff --git a/docker/Dockerfile.collector b/docker/Dockerfile.collector index 4c1dc8e..7f8838c 100644 --- a/docker/Dockerfile.collector +++ b/docker/Dockerfile.collector @@ -13,7 +13,7 @@ RUN go mod vendor && \ FROM ubuntu:latest as runtime WORKDIR /scrutiny ENV PATH="/opt/scrutiny/bin:${PATH}" - +ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y cron smartmontools ca-certificates tzdata && update-ca-certificates COPY /docker/entrypoint-collector.sh /entrypoint-collector.sh diff --git a/docker/Dockerfile.web b/docker/Dockerfile.web index 2ff577c..8495b1e 100644 --- a/docker/Dockerfile.web +++ b/docker/Dockerfile.web @@ -28,7 +28,7 @@ FROM ubuntu:latest as runtime EXPOSE 8080 WORKDIR /opt/scrutiny ENV PATH="/opt/scrutiny/bin:${PATH}" - +ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y ca-certificates curl tzdata && update-ca-certificates COPY --from=backendbuild /go/src/github.com/analogj/scrutiny/scrutiny /opt/scrutiny/bin/