pre-commit.Dockerfile: do not reinstall essential packages (#5545)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Gentoo calls them @system, Debian calls them essential. These provide the basic system functionality and it can be assumed that they are always present. Removing them from here keeps the dockerfile cleaner & the build process faster. I've left perl-base in there as it's pretty heavy and Gentoo and Alpine do not install it by default Signed-off-by: Filip Kobierski <fkobi@fsfe.org> Reviewed-on: #5545 Reviewed-by: delliott <delliott@fsfe.org> Co-authored-by: Filip Kobierski <fkobi@fsfe.org> Co-committed-by: Filip Kobierski <fkobi@fsfe.org>
This commit was merged in pull request #5545.
This commit is contained in:
@@ -5,12 +5,9 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
# Install deps
|
||||
RUN apt-get update && apt-get install --yes --no-install-recommends \
|
||||
composer \
|
||||
coreutils \
|
||||
curl \
|
||||
file \
|
||||
findutils \
|
||||
git \
|
||||
grep \
|
||||
libxml2 \
|
||||
libxml2-utils \
|
||||
libxslt1.1 \
|
||||
@@ -20,7 +17,6 @@ npm \
|
||||
perl-base \
|
||||
php-zip \
|
||||
rsync \
|
||||
sed \
|
||||
shfmt \
|
||||
xsltproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user