1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

Docker: minor fixes

This commit is contained in:
Zaoqi 2019-08-12 03:41:27 +08:00 committed by Alexander Medvednikov
parent 8c3475b902
commit 4d44de7685

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 && \