chore: initial commit

This commit is contained in:
2026-03-04 01:43:04 +07:00
commit 7e759a1993
5 changed files with 76 additions and 0 deletions

1
.env.example Normal file
View File

@@ -0,0 +1 @@
GITHUB_TOKEN=ghp_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.env
.env.*
!.env.example

28
Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM debian:bookworm-slim
ARG MISE_VERSION=2026.1.7
ARG TOOLS_DIR=/tools
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
curl git ca-certificates build-essential \
&& rm -rf /var/lib/apt/lists/*
# Mise environment variables
ENV TOOLS_DIR="${TOOLS_DIR}"
ENV MISE_DATA_DIR="${TOOLS_DIR}"
ENV MISE_CONFIG_DIR="${TOOLS_DIR}/config"
ENV MISE_CACHE_DIR="${TOOLS_DIR}/cache"
ENV MISE_INSTALL_PATH=/usr/local/bin/mise
ENV PATH="${TOOLS_DIR}/shims:${PATH}"
ENV MISE_GITHUB_ATTESTATIONS=false
ENV MISE_VERSION=${MISE_VERSION}
RUN curl https://mise.run | sh
COPY mise.toml ${TOOLS_DIR}/config/mise.toml
CMD ["sh", "-c", "\
rm -rf ${TOOLS_DIR}/shims ${TOOLS_DIR}/installs && \
mise install \
"]

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
dev-tools:
build:
context: .
dockerfile: Dockerfile
args:
- MISE_VERSION=2026.1.7
- TOOLS_DIR=/tools
environment:
- GITHUB_TOKEN=${GITHUB_TOKEN}
volumes:
- dev-tools:/tools
restart: no
volumes:
dev-tools:
name: dev-tools
external: true

26
mise.toml Normal file
View File

@@ -0,0 +1,26 @@
[tools]
# programming tools
duckdb = "1"
node = "24"
python = "3.11.14"
go = "1.26"
uv = "latest"
# secret tools
sops = "latest"
age = "latest"
# infra tools
mc = "latest"
supabase = "2"
# dev tools
bat = "latest"
eza = "latest"
ripgrep = "latest"
fzf = "latest"
jq = "latest"
yq = "latest"
just = "latest"
gh = "latest"
starship = "latest"