You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2020/03/10 21:41:20 UTC
[thrift] 02/02: THRIFT-5100: Upgrade ruby to 2.4 Client: Ruby
Patch: Jano Svitok
This is an automated email from the ASF dual-hosted git repository.
jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
commit 299b68e72334086c4685a5eaef397eb7c6129044
Author: Jano Svitok <js...@whitestein.com>
AuthorDate: Mon Mar 9 23:07:30 2020 +0100
THRIFT-5100: Upgrade ruby to 2.4
Client: Ruby
Patch: Jano Svitok
This closes #2054
due to byebug gem 11.1 (used by pry-byebug)
---
build/docker/ubuntu-xenial/Dockerfile | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/build/docker/ubuntu-xenial/Dockerfile b/build/docker/ubuntu-xenial/Dockerfile
index 57c9964..dca687f 100644
--- a/build/docker/ubuntu-xenial/Dockerfile
+++ b/build/docker/ubuntu-xenial/Dockerfile
@@ -54,7 +54,10 @@ RUN apt-get update && \
# node.js
curl -sL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
- echo "deb https://deb.nodesource.com/node_8.x xenial main" | tee /etc/apt/sources.list.d/nodesource.list
+ echo "deb https://deb.nodesource.com/node_8.x xenial main" | tee /etc/apt/sources.list.d/nodesource.list &&\
+
+# ruby 2.4
+ apt-add-repository ppa:brightbox/ruby-ng
### install general dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -245,8 +248,8 @@ RUN apt-get install -y --no-install-recommends \
RUN apt-get install -y --no-install-recommends \
`# Ruby dependencies` \
- ruby \
- ruby-dev \
+ ruby2.4 \
+ ruby2.4-dev \
ruby-bundler
# Rust dependencies