Files
homelab/k8s/dev-tools/Dockerfile
T
Story Crater Bot e1d0cfd70b k8s/aux: add cert-manager longhorn dashboard forge dev-tools and shadowsocks
- cert-manager ClusterIssuers (LetsEncrypt + homelab-ca)
- Longhorn storage dashboard
- Portainer dashboard config
- Forgejo git service
- Claude terminal remote access
- Shadowsocks tunnel for remote access
2026-07-11 19:19:59 -07:00

32 lines
804 B
Docker

FROM --platform=linux/amd64 ubuntu:24.04
RUN apt-get update && apt-get install -y \
tmux \
curl \
git \
build-essential \
nodejs \
npm \
bash \
&& rm -rf /var/lib/apt/lists/*
# Install gotty (web terminal access)
RUN curl -sL https://github.com/sorenisanerd/gotty/releases/download/v1.5.0/gotty_linux_amd64.tar.gz | \
tar xz -C /usr/local/bin && chmod +x /usr/local/bin/gotty
# Install Claude CLI
RUN npm install -g claude-code-cli 2>&1 || echo "Note: Claude CLI will be available after NPM package is published"
WORKDIR /root
# Create persistent storage dir
RUN mkdir -p /root/.claude /root/.config /root/.cache
# Entrypoint: start tmux session and gotty
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 8080
ENTRYPOINT ["/entrypoint.sh"]