File tree 3 files changed +16
-2
lines changed 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ RUN apt-get update && apt-get upgrade
92
92
93
93
RUN apt-get install -y openjdk-11-jdk python2.7 python3 golang-go
94
94
95
- RUN curl -L -o /usr/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.3 .0/bazelisk-linux-amd64 \
95
+ RUN curl -L -o /usr/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.12 .0/bazelisk-linux-amd64 \
96
96
&& sudo chmod +x /usr/bin/bazel
97
97
98
98
RUN cd /usr/bin && ln -s python3 python
Original file line number Diff line number Diff line change
1
+ ## ` build.sh `
2
+
3
+ Anytime you change the Ruby version you must push a new image to Docker Hub.
4
+
5
+ Email
[email protected] to be added to bazelruby org on hub.docker.com.
6
+
7
+ ### To Upgrade
8
+
9
+ Change the ruby version in the ` Dockerfile ` and run:
10
+
11
+ ``` bash
12
+ cd .circleci
13
+ ./build.sh
14
+ ```
Original file line number Diff line number Diff line change 12
12
13
13
set -x
14
14
15
- docker build . -t bazelruby/ruby-$RUBY_VERSION
15
+ docker build --platform linux/x86_64 . -t bazelruby/ruby-$RUBY_VERSION
16
16
17
17
docker push bazelruby/ruby-$RUBY_VERSION
18
18
You can’t perform that action at this time.
0 commit comments