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
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:
@@ -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/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
|
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 ===
|
# === setup user ===
|
||||||
RUN useradd -ms /bin/bash user && \
|
RUN useradd -ms /bin/bash user && \
|
||||||
@@ -26,7 +26,7 @@ WORKDIR /home/user
|
|||||||
RUN mkdir -p .config .local .cache && \
|
RUN mkdir -p .config .local .cache && \
|
||||||
git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
|
git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
|
||||||
|
|
||||||
COPY --chown=user:user config/bashrc .bashrc
|
COPY --chown=user:user ./config/bashrc .bashrc
|
||||||
COPY --chown=user:user config/git .config/git/config
|
COPY --chown=user:user ./config/git .config/git/config
|
||||||
|
|
||||||
VOLUME /home/user
|
VOLUME /home/user
|
||||||
|
|||||||
@@ -1,21 +1,16 @@
|
|||||||
source /etc/bashrc
|
source /etc/bashrc
|
||||||
|
|
||||||
# === bash settings ===
|
|
||||||
set -o vi
|
|
||||||
bind -m vi-insert '"\C-l": clear-screen'
|
|
||||||
|
|
||||||
# === environment ===
|
# === environment ===
|
||||||
export PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
export PS1="\[\e[30;46m\] \h | \w \[\e[0;36m\]\[\e[m\] " \
|
||||||
EDITOR="nvim" \
|
EDITOR="nvim" \
|
||||||
WAYLAND_DISPLAY="wayland-0" \
|
WAYLAND_DISPLAY="wayland-0" \
|
||||||
XDG_RUNTIME_DIR="/run/user/1000" \
|
XDG_RUNTIME_DIR="/run/user/1000" \
|
||||||
SSH_AUTH_SOCK="/run/user/1000/ssh-auth-sock" \
|
SSH_AUTH_SOCK="/run/user/1000/ssh-auth-sock" \
|
||||||
TZ="Europe/Amsterdam" \
|
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"
|
|
||||||
|
|
||||||
# === aliases and functions ===
|
# === aliases and functions ===
|
||||||
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; }
|
||||||
|
genpass() { tr -dc "${2:-A-Za-z0-9!@#$%^&*}" < /dev/urandom | head -c "${1:-16}"; echo; }
|
||||||
|
|
||||||
eval "$(fzf --bash)"
|
eval "$(fzf --bash)"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[user]
|
[user]
|
||||||
email = job@plabble.org
|
email = job@plabble.org
|
||||||
name = Job79
|
name = Job79
|
||||||
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPsqM6ABAaCTQZ+llFXD3CXrYYuIHDEnvz8IBbXddYEc job@plabble.org
|
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPsqM6ABAaCTQZ+llFXD3CXrYYuIHDEnvz8IBbXddYEc job@plabble.org
|
||||||
[gpg]
|
[gpg]
|
||||||
format = ssh
|
format = ssh
|
||||||
[commit]
|
[commit]
|
||||||
|
|||||||
@@ -1,11 +1,2 @@
|
|||||||
ARG TAG
|
ARG TAG
|
||||||
FROM job79/base:${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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user