docker: do not install recommended packages on Ubuntu

This should speed things up a bit, but various additional packages need
to be installed.
This commit is contained in:
David Adam
2025-10-06 00:34:43 +08:00
parent 7647d68b68
commit b644fdbb04
8 changed files with 25 additions and 8 deletions

View File

@@ -6,12 +6,15 @@ ENV LC_ALL=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
build-essential \
ca-certificates \
curl \
g++-multilib \
gettext \
git \
locales \
openssl \
pkg-config \
python3 \
python3-pexpect \

View File

@@ -6,7 +6,7 @@ ENV LC_ALL=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
build-essential \
cargo \
clang \
@@ -14,6 +14,7 @@ RUN apt-get update \
git \
libpcre2-dev \
locales \
openssl \
python3 \
python3-pexpect \
rustc \

View File

@@ -6,12 +6,13 @@ ENV LC_ALL=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
build-essential \
cargo \
gettext \
git \
locales \
openssl \
pkg-config \
python3 \
python3-pexpect \

View File

@@ -6,7 +6,7 @@ ENV LC_ALL=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
build-essential \
cargo \
file \
@@ -15,6 +15,7 @@ RUN apt-get update \
git \
libpcre2-dev \
locales \
openssl \
pkg-config \
python3 \
python3-pexpect \

View File

@@ -5,13 +5,16 @@ ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
build-essential \
ca-certificates \
clang \
curl \
gettext \
git \
libpcre2-dev \
locales \
openssl \
python3 \
python3-pexpect \
sudo \

View File

@@ -5,13 +5,16 @@ ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
build-essential \
ca-certificates \
clang \
curl \
gettext \
git \
libpcre2-dev \
locales \
openssl \
python3 \
python3-pexpect \
sudo \

View File

@@ -5,7 +5,7 @@ ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
build-essential \
cargo \
clang \
@@ -13,6 +13,7 @@ RUN apt-get update \
git \
libpcre2-dev \
locales \
openssl \
python3 \
python3-pexpect \
rustc \

View File

@@ -5,12 +5,16 @@ ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
RUN apt-get update \
&& apt-get -y install \
&& apt-get -y install --no-install-recommends \
adduser \
build-essential \
ca-certificates \
curl \
gettext \
git \
libpcre2-dev \
locales \
openssl \
python3 \
python3-pexpect \
tmux \