mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat: implement the ruby module (#131)
This commit is contained in:
committed by
Matan Kushner
parent
f10bfe4616
commit
b06249d61c
@@ -27,6 +27,16 @@ RUN git clone https://github.com/syndbg/goenv.git $GOENV_ROOT \
|
||||
# Check that Go was correctly installed
|
||||
RUN go version
|
||||
|
||||
# Install Ruby
|
||||
ENV RUBY_VERSION 2.5.5
|
||||
ENV RBENV_ROOT /home/nonroot/.rbenv
|
||||
ENV PATH $RBENV_ROOT/bin:$RBENV_ROOT/shims:$PATH
|
||||
RUN curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash \
|
||||
&& rbenv install $RUBY_VERSION \
|
||||
&& rbenv global $RUBY_VERSION
|
||||
# Check that Ruby was correctly installed
|
||||
RUN ruby --version
|
||||
|
||||
# Install Python
|
||||
ENV PYTHON_VERSION 3.6.9
|
||||
ENV PYENV_ROOT /home/nonroot/.pyenv
|
||||
|
||||
Reference in New Issue
Block a user