From 3079f93b75d243201bf6e4728338bd0d9814c458 Mon Sep 17 00:00:00 2001 From: Andrew Novoselac Date: Thu, 28 Mar 2024 11:09:30 -0400 Subject: [PATCH 1/2] Install libxml2 when building ruby. --- features/ruby/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/ruby/install.sh b/features/ruby/install.sh index e7e13cf..241897f 100755 --- a/features/ruby/install.sh +++ b/features/ruby/install.sh @@ -1,7 +1,8 @@ USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}" apt-get update -y -apt-get -y install --no-install-recommends libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev +apt-get -y install --no-install-recommends libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential \ + libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libxml2-dev git clone https://github.com/rbenv/rbenv.git /usr/local/share/rbenv git clone https://github.com/rbenv/ruby-build.git /usr/local/share/ruby-build From 27cdb73cc46b36c6602d68935ae885b75bdaa68d Mon Sep 17 00:00:00 2001 From: Andrew Novoselac Date: Thu, 28 Mar 2024 11:09:50 -0400 Subject: [PATCH 2/2] Prepare ruby/feature-0.2.1 --- features/ruby/devcontainer-feature.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/ruby/devcontainer-feature.json b/features/ruby/devcontainer-feature.json index a0ba96f..4a104fa 100644 --- a/features/ruby/devcontainer-feature.json +++ b/features/ruby/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "ruby", - "version": "0.2.0", + "version": "0.2.1", "name": "Ruby (via rbenv)", "description": "Installs Ruby, rbenv, ruby-build and libraries needed to build Ruby", "customizations": {