Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
CMD ["tail -f /dev/null"]