Docker: minor fixes

pull/1576/head
Zaoqi 2019-08-12 03:41:27 +08:00 committed by Alexander Medvednikov
parent 8c3475b902
commit 4d44de7685
1 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,9 @@ FROM buildpack-deps:buster-curl
LABEL maintainer="ANAGO Ronnel <anagoandy@gmail.com>"
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 && \