From c39405c377a4731dc3c338c7f9771c4ae19215c8 Mon Sep 17 00:00:00 2001 From: Al Cutter Date: Mon, 28 Nov 2022 16:03:19 +0000 Subject: [PATCH] Tests need cockroachDB --- integration/cloudbuild/testbase/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/integration/cloudbuild/testbase/Dockerfile b/integration/cloudbuild/testbase/Dockerfile index 58b7b7147b..979a82f1e8 100644 --- a/integration/cloudbuild/testbase/Dockerfile +++ b/integration/cloudbuild/testbase/Dockerfile @@ -24,6 +24,10 @@ RUN apt-get update && apt-get install -y \ # Install golangci-lint. See docs at: https://golangci-lint.run/usage/install/. RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1 +# Install CockroachDB, see https://www.cockroachlabs.com/docs/v22.1/install-cockroachdb-linux +RUN curl https://binaries.cockroachdb.com/cockroach-v22.1.11.linux-amd64.tgz | tar -xz && cp -i cockroach-v22.1.11.linux-amd64/cockroach /usr/local/bin/ + + RUN mkdir protoc && \ (cd protoc && \ PROTOC_VERSION="3.20.1" && \