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/