This is an automated email from the ASF dual-hosted git repository.
rskraba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/master by this push:
new 5a2a26b AVRO-3195: Include rust in the docker build image (#1321)
5a2a26b is described below
commit 5a2a26bc68ae4642d3ac4839b606a6a479ac8c04
Author: RyanSkraba <[email protected]>
AuthorDate: Fri Sep 3 15:37:15 2021 +0200
AVRO-3195: Include rust in the docker build image (#1321)
* AVRO-3195: Include rust in the docker build image
* AVRO-3195: Use minimum required rust in docker
---
share/docker/Dockerfile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/share/docker/Dockerfile b/share/docker/Dockerfile
index 7693df5..e74ab2a 100644
--- a/share/docker/Dockerfile
+++ b/share/docker/Dockerfile
@@ -201,6 +201,9 @@ RUN rbenv exec bundle install --gemfile=/tmp/Gemfile \
&& chgrp -R staff /usr/local/rbenv \
&& chmod -R g+rw /usr/local/rbenv
+# Install Rust
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
--default-toolchain 1.48.0
+
# Note: This "ubertool" container has two JDK versions:
# - OpenJDK 8 (installed as an AdoptOpenJDK package)
# - OpenJDK 11 (installed from the base image, and prioritized in the PATH)