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"]