From 4d44de768578281f5e1ae9353911dc75e32c3d46 Mon Sep 17 00:00:00 2001 From: Zaoqi Date: Mon, 12 Aug 2019 03:41:27 +0800 Subject: [PATCH] Docker: minor fixes --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f63ba6d2bd..f03ded91d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,9 @@ FROM buildpack-deps:buster-curl LABEL maintainer="ANAGO Ronnel " WORKDIR /opt/vlang -RUN apt-get -yq update && \ - apt-get install -y --no-install-recommends gcc clang make && \ +RUN apt-get update && \ + DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc clang make && \ + apt-get clean && rm -rf /var/cache/apt/archives/* && \ rm -rf /var/lib/apt/lists/* COPY . . RUN make && \