feat: add lazydocker
Some checks failed
Build containers / changes (push) Successful in 3s
Build containers / dependent-images (infra) (push) Has been skipped
Build containers / dependent-images (php) (push) Has been skipped
Build containers / base-image (push) Failing after 6s
Build containers / dependent-images (go) (push) Has been skipped

This commit is contained in:
Job
2026-02-20 20:55:24 +01:00
parent 8f761565d0
commit a16314abfe
2 changed files with 5 additions and 2 deletions

View File

@@ -3,10 +3,10 @@ FROM quay.io/fedora/fedora:43
# === install system packages ===
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/lazygit 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

View File

@@ -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"