diff --git a/.config/cargo/config.toml b/.config/cargo/config.toml deleted file mode 100644 index b650e8b..0000000 --- a/.config/cargo/config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[unstable] -gc = true diff --git a/.config/fish/config.fish b/.config/fish/config.fish deleted file mode 100644 index 6ad4a22..0000000 --- a/.config/fish/config.fish +++ /dev/null @@ -1,5 +0,0 @@ - -if status is-interactive - fish_add_path /root/.cargo/bin/ - # Commands to run in interactive sessions can go here -end diff --git a/.config/fish/functions/fish_greeting.fish b/.config/fish/functions/fish_greeting.fish deleted file mode 100644 index 148e376..0000000 --- a/.config/fish/functions/fish_greeting.fish +++ /dev/null @@ -1,12 +0,0 @@ -function fish_greeting --description 'Welcome the user' - printf "%s" (set_color -o brblue) - date +"%A %H:%M, %d/%m/%y" - echo -e "\n" - printf "Welcome to alpine, deke/dev-env edition\n" - printf " Check out these tools:\n" - printf " %s%sDiagnostics: %s btop, tcpdump, dust, fd, rg%s\n" (set_color normal) (set_color white) (set_color -o -i brblue) - printf " %s%sCLI: %s zellij, helix, curl, wget, tar, zstd, jq%s\n" (set_color normal) (set_color white) (set_color -o -i brblue) - printf " %s%sSVN: %s git, jj, lazygit, lazyjj%s\n" (set_color normal) (set_color white) (set_color -o -i brblue) - printf " %s%sK8S: %s k0s, kubectl\n" (set_color normal) (set_color white) (set_color -o -i brblue) - echo -e "\n" -end diff --git a/.config/helix/config.toml b/.config/helix/config.toml deleted file mode 100644 index 953a4ec..0000000 --- a/.config/helix/config.toml +++ /dev/null @@ -1,9 +0,0 @@ -theme = "tokyonight_moon" - -[editor] -line-number = "relative" -mouse = true - -[editor.file-picker] -hidden = false - diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml deleted file mode 100644 index cd519cd..0000000 --- a/.config/helix/languages.toml +++ /dev/null @@ -1,3 +0,0 @@ -[editor.lsp.rust-analyzer.config.check] -command = "clippy" - diff --git a/.forgejo/workflows/action.yaml b/.forgejo/workflows/action.yaml index d59bf89..116c442 100644 --- a/.forgejo/workflows/action.yaml +++ b/.forgejo/workflows/action.yaml @@ -7,7 +7,7 @@ jobs: checkout: runs-on: docker container: - image: ghcr.io/docker:dind + image: docker:dind steps: - name: Get git and docker run: apk add git nodejs @@ -21,3 +21,4 @@ jobs: password: ${{ secrets.TOKEN }} registry: git.dekedin.me + diff --git a/Dockerfile b/Dockerfile index 3eaaf6c..18f6666 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,38 +1,24 @@ FROM alpine:edge - # Install base dependencies and build tools RUN apk add --no-cache \ - btop \ - tcpdump \ - dust \ - fd \ - ripgrep \ fish \ - zellij \ helix \ - curl \ - wget \ + ripgrep \ + fd \ + dust \ + btop \ + tmux \ tar \ zstd \ jq \ - lazygit \ - k9s \ + tcpdump \ git - -RUN apk add --no-cache cargo bash; \ - curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash; \ - cargo binstall --strategies crate-meta-data jj-cli; \ - cargo binstall lazyjj; \ - apk del cargo bash; - -COPY setup_langs /root/setup_langs -COPY .config /root/.config - -ENV TERM="xterm-256color" -ENV COLORTERM="truecolor" +# zig (actually doubles as a c/c++) +RUN apk add --no-cache \ + zig \ + zls # Set the entrypoint to fish -WORKDIR /root/ ENTRYPOINT ["fish"] diff --git a/README.md b/README.md deleted file mode 100644 index 119f30f..0000000 --- a/README.md +++ /dev/null @@ -1,16 +0,0 @@ -```bash -~/D/P/D/Dev-Env @3cc98a9• λ❱ podman run --rm -it dev-env:latest -Sunday 22:10, 02/02/25 - - -Welcome to alpine, deke/dev-env edition - Check out these tools: - Diagnostics: btop, tcpdump, dust, fd, rg - CLI: zellij, helix, curl, wget, tar, zstd, jq - SVN: git, jj, lazygit, lazyjj - K8S: k0s, kubectl - -``` - -This is my development environment with a bunch of .config files that I enjoy. -It's not exactly "slim" but I wanted to do an experiment. \ No newline at end of file diff --git a/setup_langs/rust.sh b/setup_langs/rust.sh deleted file mode 100755 index 93b16c9..0000000 --- a/setup_langs/rust.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/bash - -apk add --no-cache \ - rust \ - cargo \ - rust-analyzer \ - clippy