sandbox (v0.2.0)
Published 2026-04-09 01:38:40 +00:00 by hug
Installation
docker pull code.homenet.ge/public/sandbox:v0.2.0sha256:e8f5b8d87b3a33e4089e741b3c522110e24b9bb62414dc31fd423d89b384fb42Image layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1775433600' |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git curl wget jq build-essential ca-certificates gnupg sudo openssh-client ripgrep unzip xz-utils && rm -rf /var/lib/apt/lists/* |
| ARG GO_VERSION |
| |1 GO_VERSION=1.26.1 /bin/sh -c curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar -C /usr/local -xz && ln -s /usr/local/go/bin/go /usr/local/bin/go && ln -s /usr/local/go/bin/gofmt /usr/local/bin/gofmt |
| ARG GO_VERSION NODE_MAJOR |
| |2 GO_VERSION=1.26.1 NODE_MAJOR=22 /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_${NODE_MAJOR}.x | bash - && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* |
| |2 GO_VERSION=1.26.1 NODE_MAJOR=22 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3 python3-pip python3-venv && ln -sf /usr/bin/python3 /usr/bin/python && rm -rf /var/lib/apt/lists/* |
| |2 GO_VERSION=1.26.1 NODE_MAJOR=22 /bin/sh -c npm install -g @anthropic-ai/claude-code && ln -sf /usr/lib/node_modules/@anthropic-ai/claude-code/cli.js /usr/local/bin/claude |
| |2 GO_VERSION=1.26.1 NODE_MAJOR=22 /bin/sh -c useradd -m -s /bin/bash -G sudo agent && echo "agent ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/agent && chmod 0440 /etc/sudoers.d/agent |
| |2 GO_VERSION=1.26.1 NODE_MAJOR=22 /bin/sh -c mkdir -p /workspace && chown agent:agent /workspace |
| |2 GO_VERSION=1.26.1 NODE_MAJOR=22 /bin/sh -c git config --system safe.directory /workspace |
| ENV GOPATH=/workspace/.gopath |
| ENV GOCACHE=/workspace/.gocache |
| ENV HOME=/home/agent |
| USER agent |
| WORKDIR /workspace |
| CMD ["sleep", "infinity"] |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.43.0 |
Details
2026-04-09 01:38:40 +00:00
Versions (3)
View all
Container
1
OCI / Docker
linux/amd64
353 MiB