Skip to content

Commit

Permalink
fix: ruby install failing
Browse files Browse the repository at this point in the history
switch to rvm
  • Loading branch information
mcfedr committed May 13, 2024
1 parent 1a2e23c commit 9292e84
Show file tree
Hide file tree
Showing 17 changed files with 158 additions and 247 deletions.
24 changes: 9 additions & 15 deletions 32-emulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,14 @@ RUN adb keygen ~/.android/adbkey


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 32-jdk17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,14 @@ RUN sdkmanager --verbose "platform-tools" "platforms;android-$ANDROID_PLATFORM_V


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 32-ndk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,14 @@ RUN sdkmanager --verbose $ANDROID_NDK_PACKAGES
##</ndk>##

##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 32-stf-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,14 @@ RUN adb keygen ~/.android/adbkey


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 32/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,14 @@ RUN sdkmanager --verbose "platform-tools" "platforms;android-$ANDROID_PLATFORM_V


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 33-emulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,14 @@ RUN adb keygen ~/.android/adbkey


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 33-jdk17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,14 @@ RUN sdkmanager --verbose "platform-tools" "platforms;android-$ANDROID_PLATFORM_V


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 33-ndk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,14 @@ RUN sdkmanager --verbose $ANDROID_NDK_PACKAGES
##</ndk>##

##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 33-stf-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,14 @@ RUN adb keygen ~/.android/adbkey


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 33/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,14 @@ RUN sdkmanager --verbose "platform-tools" "platforms;android-$ANDROID_PLATFORM_V


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 34-emulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,14 @@ RUN adb keygen ~/.android/adbkey


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 34-jdk11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,14 @@ RUN sdkmanager --verbose "platform-tools" "platforms;android-$ANDROID_PLATFORM_V


##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
24 changes: 9 additions & 15 deletions 34-ndk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,14 @@ RUN sdkmanager --verbose $ANDROID_NDK_PACKAGES
##</ndk>##

##<ruby-bundler>##
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get -y --no-install-recommends install imagemagick=8:6.9.10.23+dfsg-2.1ubuntu11 \
&& rm -rf /var/lib/apt/lists/* \
&& curl -k -0L https://github.com/postmodern/ruby-install/archive/master.tar.gz -o ruby-install.tar.gz \
&& tar -xzvf ruby-install.tar.gz
WORKDIR /ruby-install-master
RUN apt-get update && apt-get -y --no-install-recommends install make=4.2.1-1.2 \
&& rm -rf /var/lib/apt/lists/* \
&& make install
WORKDIR /
RUN apt-get update \
&& rm -rf ruby-install-master && rm -rf ruby-install.tar.gz \
&& ruby-install --latest \
&& ruby-install -i /usr/local/ ruby 2.6.8 -- --disable-install-doc \
&& gem update --system --no-document \
&& gem install bundler:1.17.3 --force
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gnupg2 \
&& rm -rf /var/lib/apt/lists/* \
&& gpg2 --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable --ruby --without-gems="rvm rubygems-bundler" \
&& echo "source /etc/profile.d/rvm.sh" >> /etc/bash.bashrc \
&& source /usr/local/rvm/scripts/rvm \
&& gem install bundler:1.17.3 --force --no-document
SHELL [ "/bin/bash", "-l", "-c" ]
##</ruby-bundler>##
Loading

0 comments on commit 9292e84

Please sign in to comment.