Skip to content

Commit

Permalink
feat(ci): update go version in bazel docker image 0.29.1
Browse files Browse the repository at this point in the history
  • Loading branch information
n0izn0iz authored and gfanton committed Dec 20, 2019
1 parent 4e8834a commit e4814c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Expand Up @@ -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:
Expand Down
10 changes: 6 additions & 4 deletions tool/docker-bazel/Dockerfile
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion 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) .
Expand Down

0 comments on commit e4814c9

Please sign in to comment.