-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM eclipse-temurin:21-jdk-focal | ||
|
||
RUN apt-get update && apt-get install -y libc6-dev make --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV JRUBY_VERSION 9.3.13.0 | ||
ENV JRUBY_SHA256 da60d6cb5c4e4d191abe20448e337b394b27bf0e095133966bcab8ac1191f51d | ||
RUN mkdir /opt/jruby \ | ||
&& curl -fSL https://repo1.maven.org/maven2/org/jruby/jruby-dist/${JRUBY_VERSION}/jruby-dist-${JRUBY_VERSION}-bin.tar.gz -o /tmp/jruby.tar.gz \ | ||
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \ | ||
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \ | ||
&& rm /tmp/jruby.tar.gz \ | ||
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1 | ||
ENV PATH /opt/jruby/bin:$PATH | ||
|
||
# skip installing gem documentation | ||
RUN mkdir -p /opt/jruby/etc \ | ||
&& { \ | ||
echo 'install: --no-document'; \ | ||
echo 'update: --no-document'; \ | ||
} >> /opt/jruby/etc/gemrc | ||
|
||
RUN gem install bundler rake net-telnet xmlrpc | ||
|
||
# don't create ".bundle" in all our apps | ||
ENV GEM_HOME /usr/local/bundle | ||
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ | ||
BUNDLE_APP_CONFIG="$GEM_HOME" | ||
ENV PATH $GEM_HOME/bin:$PATH | ||
# adjust permissions of a few directories for running "gem install" as an arbitrary user | ||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME" | ||
|
||
CMD [ "irb" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM eclipse-temurin:21-jre-focal | ||
|
||
RUN apt-get update && apt-get install -y libc6-dev make --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV JRUBY_VERSION 9.3.13.0 | ||
ENV JRUBY_SHA256 da60d6cb5c4e4d191abe20448e337b394b27bf0e095133966bcab8ac1191f51d | ||
RUN mkdir /opt/jruby \ | ||
&& curl -fSL https://repo1.maven.org/maven2/org/jruby/jruby-dist/${JRUBY_VERSION}/jruby-dist-${JRUBY_VERSION}-bin.tar.gz -o /tmp/jruby.tar.gz \ | ||
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \ | ||
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \ | ||
&& rm /tmp/jruby.tar.gz \ | ||
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1 | ||
ENV PATH /opt/jruby/bin:$PATH | ||
|
||
# skip installing gem documentation | ||
RUN mkdir -p /opt/jruby/etc \ | ||
&& { \ | ||
echo 'install: --no-document'; \ | ||
echo 'update: --no-document'; \ | ||
} >> /opt/jruby/etc/gemrc | ||
|
||
RUN gem install bundler rake net-telnet xmlrpc | ||
|
||
# don't create ".bundle" in all our apps | ||
ENV GEM_HOME /usr/local/bundle | ||
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ | ||
BUNDLE_APP_CONFIG="$GEM_HOME" | ||
ENV PATH $GEM_HOME/bin:$PATH | ||
# adjust permissions of a few directories for running "gem install" as an arbitrary user | ||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME" | ||
|
||
CMD [ "irb" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM eclipse-temurin:21-jdk-focal | ||
|
||
RUN apt-get update && apt-get install -y libc6-dev make --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV JRUBY_VERSION 9.4.5.0 | ||
ENV JRUBY_SHA256 a40f78c4641ccc86752e16b2da247fd6bc9fbcf9a4864cf1be36f7ff7b35684c | ||
RUN mkdir /opt/jruby \ | ||
&& curl -fSL https://repo1.maven.org/maven2/org/jruby/jruby-dist/${JRUBY_VERSION}/jruby-dist-${JRUBY_VERSION}-bin.tar.gz -o /tmp/jruby.tar.gz \ | ||
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \ | ||
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \ | ||
&& rm /tmp/jruby.tar.gz \ | ||
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1 | ||
ENV PATH /opt/jruby/bin:$PATH | ||
|
||
# skip installing gem documentation | ||
RUN mkdir -p /opt/jruby/etc \ | ||
&& { \ | ||
echo 'install: --no-document'; \ | ||
echo 'update: --no-document'; \ | ||
} >> /opt/jruby/etc/gemrc | ||
|
||
RUN gem install bundler rake net-telnet xmlrpc | ||
|
||
# don't create ".bundle" in all our apps | ||
ENV GEM_HOME /usr/local/bundle | ||
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ | ||
BUNDLE_APP_CONFIG="$GEM_HOME" | ||
ENV PATH $GEM_HOME/bin:$PATH | ||
# adjust permissions of a few directories for running "gem install" as an arbitrary user | ||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME" | ||
|
||
CMD [ "irb" ] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM eclipse-temurin:21-jre-focal | ||
|
||
RUN apt-get update && apt-get install -y libc6-dev make --no-install-recommends && rm -rf /var/lib/apt/lists/* | ||
|
||
ENV JRUBY_VERSION 9.4.5.0 | ||
ENV JRUBY_SHA256 a40f78c4641ccc86752e16b2da247fd6bc9fbcf9a4864cf1be36f7ff7b35684c | ||
RUN mkdir /opt/jruby \ | ||
&& curl -fSL https://repo1.maven.org/maven2/org/jruby/jruby-dist/${JRUBY_VERSION}/jruby-dist-${JRUBY_VERSION}-bin.tar.gz -o /tmp/jruby.tar.gz \ | ||
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \ | ||
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \ | ||
&& rm /tmp/jruby.tar.gz \ | ||
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1 | ||
ENV PATH /opt/jruby/bin:$PATH | ||
|
||
# skip installing gem documentation | ||
RUN mkdir -p /opt/jruby/etc \ | ||
&& { \ | ||
echo 'install: --no-document'; \ | ||
echo 'update: --no-document'; \ | ||
} >> /opt/jruby/etc/gemrc | ||
|
||
RUN gem install bundler rake net-telnet xmlrpc | ||
|
||
# don't create ".bundle" in all our apps | ||
ENV GEM_HOME /usr/local/bundle | ||
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ | ||
BUNDLE_APP_CONFIG="$GEM_HOME" | ||
ENV PATH $GEM_HOME/bin:$PATH | ||
# adjust permissions of a few directories for running "gem install" as an arbitrary user | ||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME" | ||
|
||
CMD [ "irb" ] | ||
|