all: use apt over apt-get for common APT subcommands (#21359)

This commit is contained in:
Turiiya 2024-04-26 20:01:52 +02:00 committed by GitHub
parent f9952053af
commit 712a9125bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 64 additions and 64 deletions

View file

@ -6,9 +6,9 @@ WORKDIR /opt/vlang
ARG USE_LOCAL
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc clang make git binutils && \
apt-get clean && rm -rf /var/cache/apt/archives/* && \
RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends gcc clang make git binutils && \
apt clean && rm -rf /var/cache/apt/archives/* && \
rm -rf /var/lib/apt/lists/*
COPY . /vlang-local