Dockerfile: use containernetworking-plugins
It seems the containerfile elements are currently failing to have any networking, meaning they can't update packages, etc. There's some podman warnings along the lines of Error validating CNI config file /etc/cni/net.d/87-podman-bridge.conflist: [failed to find plugin \"bridge\" ... which suggests to me containernetworking-plugins isn't installed. Honestly I'm not sure why we aren't installing it ... it has iptables as a dependency so we don't need to explicilty install that. Add it to the install here Change-Id: Ie1fe48691f44aa847859cf294404dd9e8b03cce8
This commit is contained in:
parent
f7ed1eb1ea
commit
51fa51a1a3
@ -104,11 +104,6 @@ RUN \
|
||||
# https://bugs.debian.org/995777
|
||||
# We install podman from unstable until these fixes make it into bullseye
|
||||
#
|
||||
# For some reason, the unstable podman only suggests iptables (not
|
||||
# recommends) so we need to pull that explicitly too. Unclear if
|
||||
# this is a feature or a bug; see:
|
||||
# https://bugs.debian.org/997976
|
||||
#
|
||||
# We are getting errors like
|
||||
# level=warning msg="\"/\" is not a shared mount, this could cause issues or missing mounts with rootless containers"
|
||||
# Error: command required for rootless mode with multiple IDs: exec: "newuidmap": executable file not found in $PATH
|
||||
@ -119,7 +114,7 @@ RUN \
|
||||
# and so unless we have the unstable version of libsemanage-common, it won't
|
||||
# install.
|
||||
|
||||
RUN apt-get install -y --install-recommends podman/unstable iptables uidmap/unstable libsemanage-common/unstable \
|
||||
RUN apt-get install -y --install-recommends podman/unstable containernetworking-plugins/unstable uidmap/unstable libsemanage-common/unstable \
|
||||
&& printf '[engine]\ncgroup_manager="cgroupfs"\nevents_logger="file"\n' > /etc/containers/containers.conf
|
||||
|
||||
# There is a Debian package in the NEW queue currently for dnf-plugins-core
|
||||
|
Loading…
Reference in New Issue
Block a user