| # debian.sh --arch 'amd64' out/ 'bookworm' '@1782172800' |
| ENV GO_VERSION=1.26.4 |
| ENV GOPATH=/go |
| ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c curl -OL https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz && tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz && rm go${GO_VERSION}.linux-amd64.tar.gz # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y python3 python3-pip python3-pytest python3-setuptools python3-venv python3-wheel && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c ln -s /usr/bin/python3 /usr/bin/python # buildkit |
| RUN /bin/sh -c go install golang.org/x/tools/gopls@latest && go install github.com/go-delve/delve/cmd/dlv@latest && go install honnef.co/go/tools/cmd/staticcheck@latest # buildkit |
| RUN /bin/sh -c curl -fsSL https://opencode.ai/install | bash # buildkit |
| COPY fake-xdg-open /usr/local/bin/xdg-open # buildkit |
| WORKDIR /workspace |
| CMD ["/bin/bash"] |