devbox (latest)
Published 2026-06-01 17:23:56 +00:00 by nathanlq
Installation
docker pull git.spacesheep.ovh/nathanlq/devbox:latestsha256:7091f79dbca91ee21294c8f9433069c30a027f76f942bec7d7fd8ed575ab6f1eImage layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1779062400' |
| ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=Europe/Paris PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin |
| /bin/sh -c apt-get update && apt-get install -y --no-install-recommends openssh-server git curl ca-certificates jq tmux build-essential ripgrep less python3 python3-venv pipx golang-go sudo && rm -rf /var/lib/apt/lists/* |
| /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* && npm install -g @anthropic-ai/claude-code |
| /bin/sh -c pipx install ruff && curl -fsSL https://mise.jdx.dev/mise-latest-linux-x64 -o /usr/local/bin/mise && chmod +x /usr/local/bin/mise |
| /bin/sh -c useradd -m -u 1000 -s /bin/bash nathan && echo 'nathan ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/nathan && chmod 0440 /etc/sudoers.d/nathan && mkdir -p /run/sshd && sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config && sed -ri 's/^#?PermitRootLogin.*/PermitRootLogin no/' /etc/ssh/sshd_config && sed -ri 's/^#?KbdInteractiveAuthentication.*/KbdInteractiveAuthentication no/' /etc/ssh/sshd_config |
| COPY file:9637b5c1fcc513ea065e198d0ec2b1aaa53cec2102a21bbb8365f6d1b0e25ceb in /usr/local/bin/entrypoint.sh |
| /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh |
| EXPOSE 22 |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |