mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
dev_scripts: Make user networking work in an Ubuntu 24.10 dev environment
Try installing `passt`, which is responsible for user networking in later Podman releases. If not installed, building the container image within an Ubuntu 24.10 environment fails with: setup network: could not find pasta, the network namespace can't be configured: exec: "pasta": executable file not found in $PATH Note that this package is not available in older Ubuntu versions. In these cases, we should swallow installation failures and continue.
This commit is contained in:
parent
1eff14539f
commit
8f5ae9d6ad
1 changed files with 3 additions and 0 deletions
|
@ -145,6 +145,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends podman uidmap slirp4netns \
|
&& 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 \
|
||||||
|
&& apt-get install -y passt || echo "Skipping installation of passt package" \
|
||||||
|
&& 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 \
|
||||||
git {qt_deps} pipx python3 python3-pip python3-venv dpkg-dev debhelper python3-setuptools \
|
git {qt_deps} pipx python3 python3-pip python3-venv dpkg-dev debhelper python3-setuptools \
|
||||||
|
|
Loading…
Reference in a new issue