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 ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \ RUN apt-get update \
&& apt-get -y install \ && apt-get -y install --no-install-recommends \
build-essential \ build-essential \
ca-certificates \
curl \
g++-multilib \ g++-multilib \
gettext \ gettext \
git \ git \
locales \ locales \
openssl \
pkg-config \ pkg-config \
python3 \ python3 \
python3-pexpect \ python3-pexpect \

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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