Skip to content

Commit e1a22a2

Browse files
authored
Merge pull request #26 from RubyData/ruby270
Update Ruby to 2.7.0
2 parents 181f657 + 5672b38 commit e1a22a2

File tree

2 files changed

+36
-24
lines changed

2 files changed

+36
-24
lines changed

datascience/Dockerfile

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,39 +61,45 @@ RUN apt update && \
6161
&& \
6262
rm -rf /var/lib/apt/lists/*
6363

64-
# Copy Ruby 2.6.2 from rubylang/ruby
64+
# Copy Ruby 2.7.0 from rubylang/ruby
6565

66-
COPY --from=rubylang/ruby:2.6.2-bionic \
66+
COPY --from=rubylang/ruby:2.7.0-bionic \
6767
/usr/local/bin/bundle \
6868
/usr/local/bin/bundler \
6969
/usr/local/bin/erb \
7070
/usr/local/bin/gem \
7171
/usr/local/bin/irb \
72+
/usr/local/bin/racc \
73+
/usr/local/bin/racc2y \
7274
/usr/local/bin/rake \
7375
/usr/local/bin/rdoc \
7476
/usr/local/bin/ri \
7577
/usr/local/bin/ruby \
78+
/usr/local/bin/y2racc \
7679
/usr/local/bin/
7780

78-
COPY --from=rubylang/ruby:2.6.2-bionic \
81+
COPY --from=rubylang/ruby:2.7.0-bionic \
7982
/usr/local/etc/gemrc \
8083
/usr/local/etc/
8184

82-
COPY --from=rubylang/ruby:2.6.2-bionic \
83-
/usr/local/include/ruby-2.6.0/ \
84-
/usr/local/include/ruby-2.6.0/
85+
COPY --from=rubylang/ruby:2.7.0-bionic \
86+
/usr/local/include/ruby-2.7.0/ \
87+
/usr/local/include/ruby-2.7.0/
8588

86-
COPY --from=rubylang/ruby:2.6.2-bionic \
89+
COPY --from=rubylang/ruby:2.7.0-bionic \
8790
/usr/local/lib/libruby.so \
8891
/usr/local/lib/libruby.so.* \
89-
/usr/local/lib/pkgconfig \
9092
/usr/local/lib/
9193

92-
COPY --from=rubylang/ruby:2.6.2-bionic \
94+
COPY --from=rubylang/ruby:2.7.0-bionic \
95+
/usr/local/lib/pkgconfig/ \
96+
/usr/local/lib/pkgconfig/
97+
98+
COPY --from=rubylang/ruby:2.7.0-bionic \
9399
/usr/local/lib/ruby/ \
94100
/usr/local/lib/ruby/
95101

96-
COPY --from=rubylang/ruby:2.6.2-bionic \
102+
COPY --from=rubylang/ruby:2.7.0-bionic \
97103
/usr/local/share/man/man1/bundle-*.1 \
98104
/usr/local/share/man/man1/bundle.1 \
99105
/usr/local/share/man/man1/erb.1 \
@@ -102,14 +108,14 @@ COPY --from=rubylang/ruby:2.6.2-bionic \
102108
/usr/local/share/man/man1/ruby.1 \
103109
/usr/local/share/man/man1/
104110

105-
COPY --from=rubylang/ruby:2.6.2-bionic \
111+
COPY --from=rubylang/ruby:2.7.0-bionic \
106112
/usr/local/share/man/man5/gemfile.5 \
107113
/usr/local/share/man/man5/
108114

109115
USER $NB_UID
110116

111117
RUN echo "gem: --user-install" >> $HOME/.gemrc
112-
ENV PATH $HOME/.gem/ruby/2.6.0/bin:$PATH
118+
ENV PATH $HOME/.gem/ruby/2.7.0/bin:$PATH
113119

114120
# Install basic gems
115121
RUN gem install \

minimal/Dockerfile

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,39 +61,45 @@ RUN apt-get update && \
6161
&& \
6262
rm -rf /var/lib/apt/lists/*
6363

64-
# Copy Ruby 2.6.2 from rubylang/ruby
64+
# Copy Ruby 2.7.0 from rubylang/ruby
6565

66-
COPY --from=rubylang/ruby:2.6.2-bionic \
66+
COPY --from=rubylang/ruby:2.7.0-bionic \
6767
/usr/local/bin/bundle \
6868
/usr/local/bin/bundler \
6969
/usr/local/bin/erb \
7070
/usr/local/bin/gem \
7171
/usr/local/bin/irb \
72+
/usr/local/bin/racc \
73+
/usr/local/bin/racc2y \
7274
/usr/local/bin/rake \
7375
/usr/local/bin/rdoc \
7476
/usr/local/bin/ri \
7577
/usr/local/bin/ruby \
78+
/usr/local/bin/y2racc \
7679
/usr/local/bin/
7780

78-
COPY --from=rubylang/ruby:2.6.2-bionic \
81+
COPY --from=rubylang/ruby:2.7.0-bionic \
7982
/usr/local/etc/gemrc \
8083
/usr/local/etc/
8184

82-
COPY --from=rubylang/ruby:2.6.2-bionic \
83-
/usr/local/include/ruby-2.6.0/ \
84-
/usr/local/include/ruby-2.6.0/
85+
COPY --from=rubylang/ruby:2.7.0-bionic \
86+
/usr/local/include/ruby-2.7.0/ \
87+
/usr/local/include/ruby-2.7.0/
8588

86-
COPY --from=rubylang/ruby:2.6.2-bionic \
89+
COPY --from=rubylang/ruby:2.7.0-bionic \
8790
/usr/local/lib/libruby.so \
8891
/usr/local/lib/libruby.so.* \
89-
/usr/local/lib/pkgconfig \
9092
/usr/local/lib/
9193

92-
COPY --from=rubylang/ruby:2.6.2-bionic \
94+
COPY --from=rubylang/ruby:2.7.0-bionic \
95+
/usr/local/lib/pkgconfig/ \
96+
/usr/local/lib/pkgconfig/
97+
98+
COPY --from=rubylang/ruby:2.7.0-bionic \
9399
/usr/local/lib/ruby/ \
94100
/usr/local/lib/ruby/
95101

96-
COPY --from=rubylang/ruby:2.6.2-bionic \
102+
COPY --from=rubylang/ruby:2.7.0-bionic \
97103
/usr/local/share/man/man1/bundle-*.1 \
98104
/usr/local/share/man/man1/bundle.1 \
99105
/usr/local/share/man/man1/erb.1 \
@@ -102,14 +108,14 @@ COPY --from=rubylang/ruby:2.6.2-bionic \
102108
/usr/local/share/man/man1/ruby.1 \
103109
/usr/local/share/man/man1/
104110

105-
COPY --from=rubylang/ruby:2.6.2-bionic \
111+
COPY --from=rubylang/ruby:2.7.0-bionic \
106112
/usr/local/share/man/man5/gemfile.5 \
107113
/usr/local/share/man/man5/
108114

109115
USER $NB_UID
110116

111117
RUN echo "gem: --user-install" >> $HOME/.gemrc
112-
ENV PATH $HOME/.gem/ruby/2.6.0/bin:$PATH
118+
ENV PATH $HOME/.gem/ruby/2.7.0/bin:$PATH
113119

114120
# Install basic gems
115121
RUN gem install \

0 commit comments

Comments
 (0)