Skip to content
Merged
Show file tree
Hide file tree
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
76 changes: 39 additions & 37 deletions .github/workflows/build-ruby.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .repro_run_key
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1750836296
15 changes: 7 additions & 8 deletions src/engines/jruby/9.2/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,15 @@ ENV PATH /opt/jruby/bin:$PATH
RUN mkdir -p /opt/jruby/etc \
&& echo -e 'install: --no-document\nupdate: --no-document' >> /opt/jruby/etc/gemrc

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.3.26
Expand Down
14 changes: 6 additions & 8 deletions src/engines/jruby/9.3/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,14 @@ ENV PATH /opt/jruby/bin:$PATH
RUN mkdir -p /opt/jruby/etc \
&& echo -e 'install: --no-document\nupdate: --no-document' >> /opt/jruby/etc/gemrc

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.3.26
Expand Down
14 changes: 6 additions & 8 deletions src/engines/jruby/9.4/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,14 @@ ENV PATH /opt/jruby/bin:$PATH
RUN mkdir -p /opt/jruby/etc \
&& echo -e 'install: --no-document\nupdate: --no-document' >> /opt/jruby/etc/gemrc

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.5.21
Expand Down
27 changes: 12 additions & 15 deletions src/engines/ruby/2.1/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,14 @@ RUN set -ex \
# && gem install bundler --version "$BUNDLER_VERSION" --force \
# && rm -r /root/.gem/

# install things globally, for great justice
# and don't create ".bundle" in all our apps
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

CMD [ "irb" ]

Expand Down Expand Up @@ -144,16 +143,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 2.7.11
Expand Down
27 changes: 12 additions & 15 deletions src/engines/ruby/2.2/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,14 @@ RUN set -ex \
# && gem install bundler --version "$BUNDLER_VERSION" --force \
# && rm -r /root/.gem/

# install things globally, for great justice
# and don't create ".bundle" in all our apps
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

CMD [ "irb" ]

Expand Down Expand Up @@ -148,16 +147,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 2.7.11
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/2.3/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.3.26
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/2.4/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.3.26
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/2.5/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.3.26
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/2.6/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.3.26
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/2.7/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.3.26
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/3.0/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.5.21
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/3.1/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.5.21
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/3.2/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.5.21
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/3.3/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.5.21
Expand Down
14 changes: 6 additions & 8 deletions src/engines/ruby/3.4/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ ENV LANGUAGE en_US:en
# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install things at a specific path and create ".bundle" in there as well:
# This prevents pollution of an app volume and makes the bundle path mountable
# as a volume as well.
# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV BUNDLE_BIN="$GEM_HOME/bin" \
BUNDLE_SILENCE_ROOT_WARNING=1 \
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $BUNDLE_BIN:$PATH
RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \
&& chmod 777 "$GEM_HOME" "$BUNDLE_BIN"
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 1777 "$GEM_HOME"

## Install a pinned RubyGems and Bundler
RUN gem update --system 3.5.21
Expand Down
Loading
Loading