diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 3ecbc8221b..0be5edf775 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -111,7 +111,7 @@ steps: - label: bazel-go plugins: - n0izn0iz/docker#v3.5.4: - image: bertytech/protoc:22 + image: bertytech/bazel:0.29.1-buster-r2 propagate-uid-gid: true workdir: /go/src/berty.tech environment: diff --git a/tool/docker-bazel/Dockerfile b/tool/docker-bazel/Dockerfile index cdd4016193..da846a9fc6 100644 --- a/tool/docker-bazel/Dockerfile +++ b/tool/docker-bazel/Dockerfile @@ -21,11 +21,13 @@ RUN apt-get update \ # git is needed by circleci # the rest is bazel dependencies -ADD https://github.com/bazelbuild/bazel/releases/download/1.1.0/bazel-1.1.0-installer-linux-x86_64.sh \ - /tmp/bazel-1.1.0-installer-linux-x86_64.sh +ADD https://github.com/bazelbuild/bazel/releases/download/0.29.1/bazel-0.29.1-installer-linux-x86_64.sh \ + /tmp/bazel-0.29.1-installer-linux-x86_64.sh -RUN chmod +x /tmp/bazel-1.1.0-installer-linux-x86_64.sh +RUN chmod +x /tmp/bazel-0.29.1-installer-linux-x86_64.sh -RUN /tmp/bazel-1.1.0-installer-linux-x86_64.sh --user +RUN /tmp/bazel-0.29.1-installer-linux-x86_64.sh --user + +RUN chmod o+x /root ENV PATH="${PATH}:/root/bin" diff --git a/tool/docker-bazel/Makefile b/tool/docker-bazel/Makefile index cc1b33a35c..d091789706 100644 --- a/tool/docker-bazel/Makefile +++ b/tool/docker-bazel/Makefile @@ -1,5 +1,5 @@ IMAGE ?= bertytech/bazel -VERSION ?= 1.1.0-buster-r0 +VERSION ?= 0.29.1-buster-r2 build: docker build -t $(IMAGE):$(VERSION) .