github.com/tilt-dev/tilt@v0.36.0/.circleci/Dockerfile (about) 1 # Uses Node 22 2 FROM cimg/go:1.24-node 3 4 # --- DEPENDENCIES --- 5 USER root 6 7 # NOTE: cimg/go already includes Docker Compose v2, but it's not always up-to-date 8 ARG COMPOSE_V2_VERSION="2.40.3" 9 RUN mkdir -p "${HOME}/.docker/cli-plugins" \ 10 && curl -sSL "https://github.com/docker/compose/releases/download/v${COMPOSE_V2_VERSION}/docker-compose-linux-$(uname -m)" -o "${HOME}/.docker/cli-plugins/docker-compose" \ 11 && chmod +x "${HOME}/.docker/cli-plugins/docker-compose" \ 12 && docker compose version --short | grep -q -F "${COMPOSE_V2_VERSION}" 13 14 ARG KUSTOMIZE_VERSION="5.3.0" 15 RUN curl --silent --show-error --location --fail --retry 3 --output /tmp/kustomize.tar.gz "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz" \ 16 && tar -xz -C /tmp -f /tmp/kustomize.tar.gz \ 17 && mv /tmp/kustomize /usr/bin/kustomize \ 18 && rm -f /tmp/kustomize.tar.gz \ 19 && kustomize version --short | grep -q -F "${KUSTOMIZE_VERSION}" 20 21 ARG HELM_VERSION="4.0.0" 22 RUN curl --silent --show-error --location --fail --retry 3 --output /tmp/helm.tar.gz "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz" \ 23 && tar -xz -C /tmp -f /tmp/helm.tar.gz \ 24 && mv /tmp/linux-amd64/helm /usr/bin/helm \ 25 && helm version --short | grep -q -F "${HELM_VERSION}" 26 27 # --- GO UTILITIES / LINTERS --- 28 USER circleci 29 RUN go install github.com/google/wire/cmd/wire@latest \ 30 && go install golang.org/x/tools/cmd/goimports@latest \ 31 && go clean -cache -modcache 32 33 RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.6