mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
dev_scripts: Install a subset of Podman deps
Install a subset of Podman dependencies, so that we don't also install Systemd. Doing so can introduce some subtle issues of its own, which is why we prefer cherry-picking the Podman packages we really need. Fixes #689
This commit is contained in:
parent
d854657883
commit
72ddbfd55a
1 changed files with 5 additions and 3 deletions
|
@ -82,10 +82,12 @@ DOCKERFILE_BUILD_DEV_DEBIAN_DEPS = r"""
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# NOTE: Podman has several recommended packages that are actually essential for rootless
|
# NOTE: Podman has several recommended packages that are actually essential for rootless
|
||||||
# containers. Instead of specifying them by name, we can install Podman with all of its
|
# containers. However, certain Podman versions (e.g., in Debian Trixie) bring Systemd in
|
||||||
# recommendations, which increases the image size, but makes the environment less flaky.
|
# as a recommended dependency. The latter is a cause for problems, so we prefer to
|
||||||
|
# install only a subset of the recommended Podman packages. See also:
|
||||||
|
# https://github.com/freedomofpress/dangerzone/issues/689
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y podman \
|
&& apt-get install -y --no-install-recommends podman uidmap slirp4netns \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends dh-python make build-essential \
|
&& apt-get install -y --no-install-recommends dh-python make build-essential \
|
||||||
|
|
Loading…
Reference in a new issue