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/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
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[user]
|
||||
email = job@plabble.org
|
||||
name = Job79
|
||||
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPsqM6ABAaCTQZ+llFXD3CXrYYuIHDEnvz8IBbXddYEc job@plabble.org
|
||||
signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPsqM6ABAaCTQZ+llFXD3CXrYYuIHDEnvz8IBbXddYEc job@plabble.org
|
||||
[gpg]
|
||||
format = ssh
|
||||
[commit]
|
||||
|
||||
Reference in New Issue
Block a user