docker: run rvm install script from correct path

This commit is contained in:
Daniel Pono Takamori 2021-08-10 10:36:10 -07:00 committed by Bradley M. Kuhn
parent d6e334ea1c
commit 5b3e1f9d67

View file

@ -34,7 +34,7 @@ RUN curl --fail --location --max-redirs 10 --connect-timeout 30 --retry-delay 2
RUN gpg /houdini/.rvm/archives/rvm-1.29.12.tgz.asc RUN gpg /houdini/.rvm/archives/rvm-1.29.12.tgz.asc
RUN mkdir -p /houdini/.rvm/src/rvm RUN mkdir -p /houdini/.rvm/src/rvm
RUN cd /houdini/.rvm/src/rvm && tar xzf /houdini/.rvm/archives/rvm-1.29.12.tgz --no-same-owner --strip-components 1 RUN cd /houdini/.rvm/src/rvm && tar xzf /houdini/.rvm/archives/rvm-1.29.12.tgz --no-same-owner --strip-components 1
RUN ./scripts/install --path /houdini/.rvm RUN cd /houdini/.rvm/src/rvm && ./scripts/install --path /houdini/.rvm
ENV PATH="$PATH:/houdini/.rvm/bin" ENV PATH="$PATH:/houdini/.rvm/bin"
RUN echo 'source "/houdini/.rvm/scripts/rvm"' >> ~/.bashrc RUN echo 'source "/houdini/.rvm/scripts/rvm"' >> ~/.bashrc
RUN rvm autolibs disable RUN rvm autolibs disable