refactor: simplify container build

This commit is contained in:
Job
2026-03-17 20:32:21 +01:00
parent 2ca42d5add
commit f67738b5ec
2 changed files with 2 additions and 5 deletions

View File

@@ -3,13 +3,11 @@ FROM quay.io/fedora/fedora:44
# === 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/lazydocker && \
dnf copr enable -y gierth/tools-golang && \ dnf copr enable -y gierth/tools-golang && \
dnf copr enable -y agriffis/neovim-nightly && \ dnf copr enable -y agriffis/neovim-nightly && \
dnf -y --setopt=keepcache=1 install procps ping bash-completion glibc-langpack-en \ dnf -y --setopt=keepcache=1 install bash-completion glibc-minimal-langpack \
host-spawn dbus-launch \ host-spawn dbus-launch \
zoxide git npm neovim awk jq unzip fd-find lazygit lazydocker lazysql git npm neovim awk jq unzip lazygit lazydocker lazysql
COPY config/bin /usr/local/bin COPY config/bin /usr/local/bin

View File

@@ -17,5 +17,4 @@ PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] "
alias vi=nvim alias vi=nvim
post() { curl -sF "content=<-" "https://paste.plabble.org/$2?lang=$1" && echo; } post() { curl -sF "content=<-" "https://paste.plabble.org/$2?lang=$1" && echo; }
eval "$(zoxide init --cmd cd bash)"
eval "$(fzf --bash)" eval "$(fzf --bash)"