Skip to content

Commit 8b6c571

Browse files
authored
Merge pull request #690 from clearlydefined/use-debian-ruby
Use Debian's packaged Ruby instead of compiling from source
2 parents fa8a709 + f613238 commit 8b6c571

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ ARG BUILD_SHA="UNKNOWN"
1111
ENV BUILD_SHA=$BUILD_SHA
1212

1313
# Ruby and Python Dependencies
14-
RUN apt-get update && apt-get install -y --no-install-recommends --no-install-suggests curl bzip2 build-essential libssl-dev libreadline-dev zlib1g-dev cmake python3 python3-dev python3-pip xz-utils libxml2-dev libxslt1-dev libpopt0 && \
14+
RUN apt-get update && apt-get install -y --no-install-recommends --no-install-suggests curl bzip2 build-essential libssl-dev libreadline-dev zlib1g-dev cmake python3 python3-dev python3-pip xz-utils libxml2-dev libxslt1-dev libpopt0 ruby ruby-dev && \
1515
rm -rf /var/lib/apt/lists/* && \
16-
curl -L https://github.com/rbenv/ruby-build/archive/refs/tags/v20231012.tar.gz | tar -zxvf - -C /tmp/ && \
17-
cd /tmp/ruby-build-* && ./install.sh && cd / && \
18-
ruby-build -v 3.2.2 /usr/local && rm -rfv /tmp/ruby-build-* && \
1916
gem install bundler -v 2.5.4 --no-document
2017

2118
# Scancode

0 commit comments

Comments
 (0)