Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: remove unused packages from Debian container #2491

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions test/container/Dockerfile-Debian
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ FROM docker.io/debian:latest
MAINTAINER https://github.com/dracutdevs/dracut

# Install needed packages for the dracut CI container
# Install dracut as a linux-initramfs-tool provider so that the default initramfs-tool package does not get installed
# Uninstall initramfs-tools-core as a workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994492
RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --no-install-recommends dracut && \
RUN apt-get update -y -qq && apt-get upgrade -y -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends -o Dpkg::Use-Pty=0 \
asciidoc \
astyle \
Expand All @@ -17,9 +15,6 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
cpio \
cryptsetup \
curl \
dash \
debhelper \
debhelper-compat \
dmraid \
docbook \
docbook-xml \
Expand Down Expand Up @@ -52,8 +47,7 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
pigz \
pkg-config \
procps \
qemu-system-x86 \
quilt \
qemu-kvm \
shellcheck \
squashfs-tools \
strace \
Expand All @@ -64,4 +58,4 @@ RUN apt-get update -y -qq && apt-get upgrade -y -qq && apt-get install -y -qq --
thin-provisioning-tools \
vim \
wget \
&& apt-get clean && dpkg -P --force-depends dracut dracut-core initramfs-tools-core
&& apt-get clean
Loading