diff --git a/containers/fedora/Containerfile b/containers/fedora/Containerfile index 50e5ad9..96df739 100644 --- a/containers/fedora/Containerfile +++ b/containers/fedora/Containerfile @@ -4,9 +4,10 @@ FROM quay.io/fedora/fedora:43 RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \ dnf update -y && \ dnf copr enable -y atim/lazygit && \ + dnf copr enable -y atim/lazydocker && \ dnf -y --setopt=keepcache=1 install procps ping bash-completion glibc-langpack-en \ host-spawn dbus-launch \ - zoxide git npm neovim awk jq unzip fd-find lazygit + zoxide git npm neovim awk jq unzip fd-find lazygit lazydocker # === setup user === RUN useradd -ms /bin/bash user && echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers && mkdir -p /run/user/1000 && chown user:user /run/user/1000 diff --git a/devc.sh b/devc.sh index 3c24d7f..a807c53 100755 --- a/devc.sh +++ b/devc.sh @@ -53,6 +53,9 @@ param_args() { arg "-v /run/user/$UID/bus:/tmp/bus" arg "-e HOST_HOME=$HOME" # Used to translate paths. ;; + -podman-sock) # Mount podman sock into the container. + arg "-v /run/user/$UID/podman/podman.sock:/var/run/docker.sock" + ;; -x11) # Enable X11 support. arg "-v /tmp/.X11-unix:/tmp/.X11-unix" arg "-v $XAUTHORITY:/run/user/1000/.Xauthority:ro"