Block a user
ioa-sandbox (3cb720b15991)
Published 2026-02-24 15:13:07 +08:00 by Jason
Installation
docker pull git.renewmake.com/jason/ioa-sandbox:3cb720b15991sha256:db965a0c2b04bfab11e29a3d2f0586ac40ab9cf55740bc3eae1e1bce150cf8b5
Images
| Digest | OS / Arch | Size |
|---|---|---|
| d138552712 | linux/amd64 | 775 MiB |
Image Layers ( linux/amd64)
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1769990400' |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV LANG=C.UTF-8 |
| ENV LC_ALL=C.UTF-8 |
| ENV SHELL=/bin/zsh |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends zsh tmux curl wget git ca-certificates gnupg lsb-release build-essential procps ripgrep jq openssh-client vim-tiny python3 python3-pip python3-venv fonts-liberation fonts-noto-cjk fonts-wqy-zenhei libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcups2 libdbus-1-3 libdrm2 libgbm1 libgtk-3-0 libnspr4 libnss3 libwayland-client0 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxrandr2 xdg-utils unzip zip && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y chromium chromium-driver && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/chromium /usr/bin/google-chrome # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y ghostscript && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c ARCH=$(dpkg --print-architecture) && if [ "$ARCH" = "amd64" ]; then CLOUDFLARED_URL="https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64"; elif [ "$ARCH" = "arm64" ]; then CLOUDFLARED_URL="https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64"; else echo "Unsupported architecture: $ARCH" && exit 1; fi && curl -L "$CLOUDFLARED_URL" -o /usr/local/bin/cloudflared && chmod +x /usr/local/bin/cloudflared # buildkit |
| RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c npm install -g pnpm yarn typescript ts-node && npm cache clean --force # buildkit |
| COPY /usr/local/bin/bun /usr/local/bin/bun # buildkit |
| COPY apps/product-proposal-web /opt/product-proposal-web-src # buildkit |
| WORKDIR /opt/product-proposal-web-src |
| RUN /bin/sh -c bun install --frozen-lockfile && bun run build && mkdir -p /opt/product-proposal-web/.next && cp -R .next/standalone/. /opt/product-proposal-web/ && cp -R .next/static /opt/product-proposal-web/.next/static && cp .next/BUILD_ID /opt/product-proposal-web/.next/BUILD_ID && if [ -d public ]; then cp -R public /opt/product-proposal-web/public; fi && rm -rf /opt/product-proposal-web-src # buildkit |
| RUN /bin/sh -c echo 'export PS1="%F{cyan}%n@sandbox%f:%F{yellow}%~%f$ "' > /root/.zshrc && echo 'alias ll="ls -la"' >> /root/.zshrc && echo 'alias python="python3"' >> /root/.zshrc && echo 'alias pip="pip3"' >> /root/.zshrc # buildkit |
| COPY docker/sandbox/start-product-proposal.sh /usr/local/bin/start-product-proposal.sh # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/start-product-proposal.sh # buildkit |
| WORKDIR /workspace |
| CMD ["/usr/local/bin/start-product-proposal.sh"] |
Details
2026-02-24 15:13:07 +08:00
Versions (4)
View all
Container
0
OCI / Docker