Compare commits

...

10 commits

Author SHA1 Message Date
a91cd4e823
edit registry??
Some checks failed
ci / checkout (push) Failing after 0s
2025-07-20 09:40:59 +02:00
7719496304 Add README.md
Some checks failed
ci / checkout (push) Failing after 41s
2025-02-02 22:14:59 +00:00
97266ef796 Improve motd message 2025-02-02 23:12:46 +01:00
3cc98a9783 improve greeting message and list packages 2025-02-02 23:06:33 +01:00
4da65198a7 add helix conf and change rust installation to slim down image again 2025-02-02 21:02:59 +01:00
938c5a7992 Try simpler copy 2025-02-02 20:03:54 +01:00
7ff1de3c4c copy fish after installing fish 2025-02-02 19:52:37 +01:00
1fdf0a1f3f add rust setup 2025-02-02 19:41:13 +01:00
b09bd5fa62
ho tolto jj 2025-02-02 01:53:23 +01:00
42f9622bc1
ho aggiunto sta roba 2025-02-02 01:49:58 +01:00
9 changed files with 80 additions and 13 deletions

View file

@ -0,0 +1,2 @@
[unstable]
gc = true

5
.config/fish/config.fish Normal file
View 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

View 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

View file

@ -0,0 +1,9 @@
theme = "tokyonight_moon"
[editor]
line-number = "relative"
mouse = true
[editor.file-picker]
hidden = false

View file

@ -0,0 +1,3 @@
[editor.lsp.rust-analyzer.config.check]
command = "clippy"

View file

@ -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

View file

@ -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
View 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
View file

@ -0,0 +1,7 @@
#!/usr/bin/bash
apk add --no-cache \
rust \
cargo \
rust-analyzer \
clippy