| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:32d41b6329e8f89fa4ac92ef97c04b7cfd5e90fb74e1509c3e27d7c91195b7c7 in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/sh -c apt-get update && apt-get install -y git curl unzip && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c curl -fsSL https://bun.sh/install | bash # buildkit |
| ENV PATH=/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV PNPM_HOME=/root/.local/share/pnpm |
| RUN /bin/sh -c curl -fsSL https://get.pnpm.io/install.sh | SHELL=/bin/bash sh - # buildkit |
| ENV PATH=/root/.local/share/pnpm:/root/.bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs && npm install -g npm@latest yarn # buildkit |
| COPY scripts/clone-repo.sh /usr/local/bin/clone-repo # buildkit |
| COPY scripts/run-command.sh /usr/local/bin/run-command # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/clone-repo /usr/local/bin/run-command # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| ENV WORK_DIR=/source |
| ENTRYPOINT ["/entrypoint.sh"] |