set up podman

This commit is contained in:
Brent Schroeter 2026-05-08 09:02:29 -07:00
parent ef65b393cd
commit 3fb73fe31e
2 changed files with 8 additions and 0 deletions

View file

@ -14,6 +14,12 @@ RUN apt-get install -y gpg sudo wget curl build-essential software-properties-co
# Install handy developer tools.
RUN apt-get install -y iputils-ping postgresql-client git-delta golang jq sqlite3 vim pipx ripgrep openssh-server
# Install and configure Podman.
RUN apt-get install -y iptables podman
# Podman doesn't use IPv6, so we only need to update the path for the IPv4 executable.
RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
COPY --chown=root ./assets/podman/containers.conf /etc/containers/containers.conf
# Install mise-en-place for project (and in some cases global) tooling management.
RUN install -dm 755 /etc/apt/keyrings
RUN wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null

View file

@ -0,0 +1,2 @@
[network]
firewall_driver = "iptables"