From 91f42953a545836d8a4329ab3dfcca7f0e10500d Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 18 Jul 2025 15:22:28 +0200 Subject: [PATCH] Dockerfile: Update Ruby 3.2.6->3.2.8 This is the matching Ruby we install in openvox-agent. Cherry-picked from https://github.com/OpenVoxProject/openvox-server/pull/35 --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 37c95a3af..45be9e47d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,10 +7,13 @@ RUN wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein RUN chmod a+x lein RUN mv lein /usr/local/bin RUN wget -q https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer -O- | bash -RUN /bin/bash --login -c 'rbenv install 3.2.6' -RUN /bin/bash --login -c 'rbenv global 3.2.6' +# todo: it would be great if we could get the used ruby version from openvox-agent and use it here +# and maybe don't randomly download rbenv and leiningen +# and how bad is it that we hardcode java 11 above? +RUN /bin/bash --login -c 'rbenv install 3.2.8' +RUN /bin/bash --login -c 'rbenv global 3.2.8' RUN git config --global user.email "openvox@voxpupuli.org" RUN git config --global user.name "Vox Pupuli" RUN git config --global --add safe.directory /code -CMD ["tail -f /dev/null"] \ No newline at end of file +CMD ["tail -f /dev/null"]