Compare commits
10 commits
d713103d33
...
a91cd4e823
Author | SHA1 | Date | |
---|---|---|---|
a91cd4e823 | |||
7719496304 | |||
97266ef796 | |||
3cc98a9783 | |||
4da65198a7 | |||
938c5a7992 | |||
7ff1de3c4c | |||
1fdf0a1f3f | |||
b09bd5fa62 | |||
42f9622bc1 |
9 changed files with 80 additions and 13 deletions
2
.config/cargo/config.toml
Normal file
2
.config/cargo/config.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[unstable]
|
||||||
|
gc = true
|
5
.config/fish/config.fish
Normal file
5
.config/fish/config.fish
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
if status is-interactive
|
||||||
|
fish_add_path /root/.cargo/bin/
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
12
.config/fish/functions/fish_greeting.fish
Normal file
12
.config/fish/functions/fish_greeting.fish
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
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
|
9
.config/helix/config.toml
Normal file
9
.config/helix/config.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
theme = "tokyonight_moon"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
line-number = "relative"
|
||||||
|
mouse = true
|
||||||
|
|
||||||
|
[editor.file-picker]
|
||||||
|
hidden = false
|
||||||
|
|
3
.config/helix/languages.toml
Normal file
3
.config/helix/languages.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[editor.lsp.rust-analyzer.config.check]
|
||||||
|
command = "clippy"
|
||||||
|
|
|
@ -7,7 +7,7 @@ jobs:
|
||||||
checkout:
|
checkout:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: docker:dind
|
image: ghcr.io/docker:dind
|
||||||
steps:
|
steps:
|
||||||
- name: Get git and docker
|
- name: Get git and docker
|
||||||
run: apk add git nodejs
|
run: apk add git nodejs
|
||||||
|
@ -21,4 +21,3 @@ jobs:
|
||||||
password: ${{ secrets.TOKEN }}
|
password: ${{ secrets.TOKEN }}
|
||||||
registry: git.dekedin.me
|
registry: git.dekedin.me
|
||||||
|
|
||||||
|
|
||||||
|
|
36
Dockerfile
36
Dockerfile
|
@ -1,24 +1,38 @@
|
||||||
FROM alpine:edge
|
FROM alpine:edge
|
||||||
|
|
||||||
|
|
||||||
# Install base dependencies and build tools
|
# Install base dependencies and build tools
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
fish \
|
|
||||||
helix \
|
|
||||||
ripgrep \
|
|
||||||
fd \
|
|
||||||
dust \
|
|
||||||
btop \
|
btop \
|
||||||
tmux \
|
tcpdump \
|
||||||
|
dust \
|
||||||
|
fd \
|
||||||
|
ripgrep \
|
||||||
|
fish \
|
||||||
|
zellij \
|
||||||
|
helix \
|
||||||
|
curl \
|
||||||
|
wget \
|
||||||
tar \
|
tar \
|
||||||
zstd \
|
zstd \
|
||||||
jq \
|
jq \
|
||||||
tcpdump \
|
lazygit \
|
||||||
|
k9s \
|
||||||
git
|
git
|
||||||
|
|
||||||
# zig (actually doubles as a c/c++)
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache cargo bash; \
|
||||||
zig \
|
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash; \
|
||||||
zls
|
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"
|
||||||
|
|
||||||
# Set the entrypoint to fish
|
# Set the entrypoint to fish
|
||||||
|
WORKDIR /root/
|
||||||
ENTRYPOINT ["fish"]
|
ENTRYPOINT ["fish"]
|
||||||
|
|
16
README.md
Normal file
16
README.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
```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.
|
7
setup_langs/rust.sh
Executable file
7
setup_langs/rust.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
apk add --no-cache \
|
||||||
|
rust \
|
||||||
|
cargo \
|
||||||
|
rust-analyzer \
|
||||||
|
clippy
|
Loading…
Add table
Add a link
Reference in a new issue