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
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:
@@ -3,10 +3,10 @@ FROM quay.io/fedora/fedora:43
|
|||||||
# === install system packages ===
|
# === install system packages ===
|
||||||
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
||||||
dnf update -y && \
|
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 \
|
dnf -y --setopt=keepcache=1 install procps ping bash-completion glibc-langpack-en \
|
||||||
host-spawn dbus-launch \
|
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 ===
|
# === 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
|
RUN useradd -ms /bin/bash user && echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers && mkdir -p /run/user/1000 && chown user:user /run/user/1000
|
||||||
|
|||||||
3
devc.sh
3
devc.sh
@@ -53,6 +53,9 @@ param_args() {
|
|||||||
arg "-v /run/user/$UID/bus:/tmp/bus"
|
arg "-v /run/user/$UID/bus:/tmp/bus"
|
||||||
arg "-e HOST_HOME=$HOME" # Used to translate paths.
|
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.
|
-x11) # Enable X11 support.
|
||||||
arg "-v /tmp/.X11-unix:/tmp/.X11-unix"
|
arg "-v /tmp/.X11-unix:/tmp/.X11-unix"
|
||||||
arg "-v $XAUTHORITY:/run/user/1000/.Xauthority:ro"
|
arg "-v $XAUTHORITY:/run/user/1000/.Xauthority:ro"
|
||||||
|
|||||||
Reference in New Issue
Block a user