set up podman
This commit is contained in:
parent
ef65b393cd
commit
3fb73fe31e
2 changed files with 8 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ RUN apt-get install -y gpg sudo wget curl build-essential software-properties-co
|
||||||
# Install handy developer tools.
|
# Install handy developer tools.
|
||||||
RUN apt-get install -y iputils-ping postgresql-client git-delta golang jq sqlite3 vim pipx ripgrep openssh-server
|
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.
|
# Install mise-en-place for project (and in some cases global) tooling management.
|
||||||
RUN install -dm 755 /etc/apt/keyrings
|
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
|
RUN wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null
|
||||||
|
|
|
||||||
2
assets/podman/containers.conf
Normal file
2
assets/podman/containers.conf
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[network]
|
||||||
|
firewall_driver = "iptables"
|
||||||
Loading…
Add table
Reference in a new issue