| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:8ce1caf246e7c778bca84c516d02fd4e83766bb2c530a0fffa8a351b560a2728 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 python3 python3-pip ttyd 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 |
| ARG INSTALL_VIBE=true |
| RUN |1 INSTALL_VIBE=true /bin/sh -c if [ "$INSTALL_VIBE" = "true" ]; then export PATH="/root/.local/bin:$PATH" && curl -LsSf https://mistral.ai/vibe/install.sh | bash; fi # buildkit |
| ENV PATH=/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |1 INSTALL_VIBE=true /bin/sh -c curl -fsSL https://dot.net/v1/dotnet-install.sh | bash -s -- --channel 10.0 --install-dir /usr/local/dotnet # buildkit |
| ENV PATH=/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/dotnet |
| ENV DOTNET_ROOT=/usr/local/dotnet |
| ARG INSTALL_OPENCODE=true |
| RUN |2 INSTALL_VIBE=true INSTALL_OPENCODE=true /bin/sh -c if [ "$INSTALL_OPENCODE" = "true" ]; then npm install -g opencode-ai; fi # buildkit |
| RUN |2 INSTALL_VIBE=true INSTALL_OPENCODE=true /bin/sh -c npm install -g repomix # buildkit |
| ARG INSTALL_AIDER=true |
| RUN |3 INSTALL_VIBE=true INSTALL_OPENCODE=true INSTALL_AIDER=true /bin/sh -c if [ "$INSTALL_AIDER" = "true" ]; then pip install --break-system-packages aider-chat; fi # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN |3 INSTALL_VIBE=true INSTALL_OPENCODE=true INSTALL_AIDER=true /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| COPY forgejo-pr.sh /usr/local/bin/forgejo-pr # buildkit |
| RUN |3 INSTALL_VIBE=true INSTALL_OPENCODE=true INSTALL_AIDER=true /bin/sh -c chmod +x /usr/local/bin/forgejo-pr # buildkit |
| EXPOSE map[7681/tcp:{}] |
| WORKDIR /workspace |
| ENTRYPOINT ["/entrypoint.sh"] |
| CMD ["bash"] |