Compare commits
2 Commits
10f0f5993b
...
2e8375d34f
| Author | SHA1 | Date | |
|---|---|---|---|
|
2e8375d34f
|
|||
|
dc2f2991bc
|
@@ -5,9 +5,10 @@ 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 && \
|
||||||
dnf copr enable -y atim/lazydocker && \
|
dnf copr enable -y atim/lazydocker && \
|
||||||
|
dnf copr enable -y gierth/tools-golang && \
|
||||||
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 lazydocker
|
zoxide git npm neovim awk jq unzip fd-find lazygit lazydocker lazysql
|
||||||
|
|
||||||
# === 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
|
||||||
|
|||||||
2
devc.sh
2
devc.sh
@@ -113,4 +113,4 @@ if [ "$(podman container inspect "$name" -f {{.State.Running}} 2>&1)" != 'true'
|
|||||||
podman run -td $(default_args) $(param_args $@) "$registry/$image"
|
podman run -td $(default_args) $(param_args $@) "$registry/$image"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
podman exec --detach-keys "ctrl-@" -it "$name" ${DEVC_COMMAND:-}
|
podman exec --detach-keys "ctrl-@,ctrl-@" -it "$name" ${DEVC_COMMAND:-}
|
||||||
|
|||||||
Reference in New Issue
Block a user