| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:08e1f650999ca51d9b63c782d658d9485c64263966d69dc423a3b64a16449f00 in / |
| CMD ["/bin/bash"] |
| RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git make python3.12 python3-pip && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* |
| RUN ARCH=$(dpkg --print-architecture) && curl -sSL "https://go.dev/dl/go${GO_VERSION}.linux-${ARCH}.tar.gz" | tar -C /usr/local -xz |
| RUN ARCH=$(dpkg --print-architecture) && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b /usr/local/bin ${GOLANGCI_LINT_VERSION} |
| RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_GEN_VERSION} |
| RUN go install sigs.k8s.io/controller-runtime/tools/setup-envtest@${ENVTEST_VERSION} |
| RUN ENVTEST_ASSETS=$(setup-envtest use ${K8S_VERSION} --bin-dir /usr/local/kubebuilder -p path) && ln -sf "${ENVTEST_ASSETS}" /usr/local/kubebuilder/current |
| RUN go version && golangci-lint --version && controller-gen --version && setup-envtest list | head -3 && ls /usr/local/kubebuilder/current/ && node --version && make --version && python3.12 --version |