refactor: cleanup container files
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 34s
Build containers / dependent-images (infra) (push) Successful in 8s
Build containers / dependent-images (go) (push) Failing after 31s
Build containers / dependent-images (php) (push) Failing after 41s

This commit is contained in:
2026-08-18 19:39:01 +02:00
parent ca40306340
commit ff98985a38
7 changed files with 6 additions and 20 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygi
curl -sL "https://github.com/jorgerojas26/lazysql/releases/latest/download/lazysql_Linux_x86_64.tar.gz" | tar xz -C /usr/local/bin lazysql && \
curl -sL "https://github.com/neovim/neovim/releases/download/nightly/nvim-linux-x86_64.tar.gz" | tar xz -C /usr/local --strip-components=1
COPY config/bin /usr/local/bin
COPY ./bin /usr/local/bin
# === setup user ===
RUN useradd -ms /bin/bash user && \
@@ -26,7 +26,7 @@ WORKDIR /home/user
RUN mkdir -p .config .local .cache && \
git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
COPY --chown=user:user config/bashrc .bashrc
COPY --chown=user:user config/git .config/git/config
COPY --chown=user:user ./config/bashrc .bashrc
COPY --chown=user:user ./config/git .config/git/config
VOLUME /home/user
+2 -7
View File
@@ -1,21 +1,16 @@
source /etc/bashrc
# === bash settings ===
set -o vi
bind -m vi-insert '"\C-l": clear-screen'
# === environment ===
export PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
EDITOR="nvim" \
WAYLAND_DISPLAY="wayland-0" \
XDG_RUNTIME_DIR="/run/user/1000" \
SSH_AUTH_SOCK="/run/user/1000/ssh-auth-sock" \
TZ="Europe/Amsterdam" \
FZF_CTRL_T_COMMAND="fd --type f --hidden --exclude .git --exclude Library --exclude .cache" \
FZF_ALT_C_COMMAND="fd --type d --hidden --exclude .git --exclude Library --exclude .cache"
TZ="Europe/Amsterdam"
# === aliases and functions ===
alias vi=nvim
post() { curl -sF "content=<-" "https://paste.plabble.org/$2?lang=$1" && echo; }
genpass() { tr -dc "${2:-A-Za-z0-9!@#$%^&*}" < /dev/urandom | head -c "${1:-16}"; echo; }
eval "$(fzf --bash)"
-9
View File
@@ -1,11 +1,2 @@
ARG TAG
FROM job79/base:${TAG}
USER root
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf -y --setopt=keepcache=1 --setopt=install_weak_deps=False install \
just kubectl k9s openssl age "$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq -r ".assets[] | select(.name | test(\"sops-.*.$(arch).rpm\$\")) | .browser_download_url")" && \
curl -sL https://talos.dev/install | sh && \
curl -s https://fluxcd.io/install.sh | bash
USER user