| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:d938ff3d4eee15d8600de84bf85eac6ecd0f20bc92dfe305dafbff0bdc974c0f in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends git curl gnupg ca-certificates jq nano vim python3 python3-pip ttyd openssh-server libc6 libgcc-s1 libgssapi-krb5-2 libicu74 liblttng-ust1 libssl3 libstdc++6 zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c curl -fsSL https://dot.net/v1/dotnet-install.sh | bash -s -- --channel 10.0 --install-dir /usr/local/dotnet && ln -sf /usr/local/dotnet/dotnet /usr/local/bin/dotnet # buildkit |
| ENV DOTNET_ROOT=/usr/local/dotnet |
| RUN /bin/sh -c npm install -g repomix # buildkit |
| RUN /bin/sh -c pip install --break-system-packages aider-chat # buildkit |
| ENV PATH=/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c curl -LsSf https://mistral.ai/vibe/install.sh | bash # buildkit |
| RUN /bin/sh -c npm install -g opencode-ai # buildkit |
| RUN /bin/sh -c npm install -g @anthropic-ai/claude-code # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| COPY forgejo-pr.sh /usr/local/bin/forgejo-pr # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/forgejo-pr # buildkit |
| EXPOSE map[7681/tcp:{}] |
| WORKDIR /workspace |
| ENTRYPOINT ["/entrypoint.sh"] |
| CMD ["bash"] |