Skip to content
Open
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
14 changes: 7 additions & 7 deletions src/engines/jruby/10.0/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,32 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
RUN apt-get install -y libc6-dev build-essential git locales tzdata curl --no-install-recommends && rm -rf /var/lib/apt/lists/*

# Ensure sane locale (`eclipse-temurin` already updated `/etc/locale.gen` for `en_US.UTF-8`)
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en

# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 10.0.2.0
ENV JRUBY_SHA256 b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
ENV JRUBY_VERSION=10.0.2.0
ENV JRUBY_SHA256=b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
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
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
&& echo -e 'install: --no-document\nupdate: --no-document' >> /opt/jruby/etc/gemrc

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
6 changes: 3 additions & 3 deletions src/engines/jruby/10.0/Dockerfile.musl
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
RUN apk add curl bash

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 10.0.2.0
ENV JRUBY_SHA256 b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
ENV JRUBY_VERSION=10.0.2.0
ENV JRUBY_SHA256=b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
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 \
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
ENV PATH /opt/jruby/bin:$PATH
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
Expand Down
14 changes: 7 additions & 7 deletions src/engines/jruby/9.2/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,33 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
RUN apt-get install -y libc6-dev build-essential git locales tzdata --no-install-recommends && rm -rf /var/lib/apt/lists/*

# Ensure sane locale (`eclipse-temurin` already updated `/etc/locale.gen` for `en_US.UTF-8`)
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en

# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 9.2.21.0
ENV JRUBY_SHA256 dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
ENV JRUBY_VERSION=9.2.21.0
ENV JRUBY_SHA256=dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
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
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
&& echo -e 'install: --no-document\nupdate: --no-document' >> /opt/jruby/etc/gemrc


# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
6 changes: 3 additions & 3 deletions src/engines/jruby/9.2/Dockerfile.musl
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
RUN apk add curl bash

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 9.2.21.0
ENV JRUBY_SHA256 dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
ENV JRUBY_VERSION=9.2.21.0
ENV JRUBY_SHA256=dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
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 \
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
ENV PATH /opt/jruby/bin:$PATH
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
Expand Down
14 changes: 7 additions & 7 deletions src/engines/jruby/9.3/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,32 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
RUN apt-get install -y libc6-dev build-essential git locales tzdata --no-install-recommends && rm -rf /var/lib/apt/lists/*

# Ensure sane locale (`eclipse-temurin` already updated `/etc/locale.gen` for `en_US.UTF-8`)
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en

# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 9.3.15.0
ENV JRUBY_SHA256 0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
ENV JRUBY_VERSION=9.3.15.0
ENV JRUBY_SHA256=0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
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
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
&& echo -e 'install: --no-document\nupdate: --no-document' >> /opt/jruby/etc/gemrc

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
6 changes: 3 additions & 3 deletions src/engines/jruby/9.3/Dockerfile.musl
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
RUN apk add curl bash

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 9.3.15.0
ENV JRUBY_SHA256 0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
ENV JRUBY_VERSION=9.3.15.0
ENV JRUBY_SHA256=0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
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 \
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
ENV PATH /opt/jruby/bin:$PATH
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
Expand Down
14 changes: 7 additions & 7 deletions src/engines/jruby/9.4/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,32 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
RUN apt-get install -y libc6-dev build-essential git locales tzdata --no-install-recommends && rm -rf /var/lib/apt/lists/*

# Ensure sane locale (`eclipse-temurin` already updated `/etc/locale.gen` for `en_US.UTF-8`)
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en

# Ensure consistent timezone
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 9.4.14.0
ENV JRUBY_SHA256 7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
ENV JRUBY_VERSION=9.4.14.0
ENV JRUBY_SHA256=7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
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
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
&& echo -e 'install: --no-document\nupdate: --no-document' >> /opt/jruby/etc/gemrc

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
6 changes: 3 additions & 3 deletions src/engines/jruby/9.4/Dockerfile.musl
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
RUN apk add curl bash

# Install JRuby, pinned for reproducibility
ENV JRUBY_VERSION 9.4.14.0
ENV JRUBY_SHA256 7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
ENV JRUBY_VERSION=9.4.14.0
ENV JRUBY_SHA256=7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
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 \
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
ENV PATH /opt/jruby/bin:$PATH
ENV PATH=/opt/jruby/bin:$PATH

# Skip installing gem documentation
RUN mkdir -p /opt/jruby/etc \
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/1.8/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ bundle --version
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/1.8/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ rm -rf /var/lib/apt/lists/*
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/1.9/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ bundle --version
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/1.9/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ rm -rf /var/lib/apt/lists/*
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/2.0/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ bundle --version
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/2.0/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ rm -rf /var/lib/apt/lists/*
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/2.1/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ bundle --version
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/2.1/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ rm -rf /var/lib/apt/lists/*
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
2 changes: 1 addition & 1 deletion src/engines/ruby/2.1/Dockerfile.musl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ARG REPRO_RUN_KEY=0
# updated by changing the `REPRO_RUN_KEY`.
RUN true "${REPRO_RUN_KEY}" && apk update

ENV LANG en_US.UTF-8
ENV LANG=en_US.UTF-8

## Install a pinned RubyGems and Bundler
RUN gem update --system 2.7.11
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/2.2/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ bundle --version
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/2.2/Dockerfile.gnu
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ rm -rf /var/lib/apt/lists/*
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
2 changes: 1 addition & 1 deletion src/engines/ruby/2.2/Dockerfile.musl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ARG REPRO_RUN_KEY=0
# updated by changing the `REPRO_RUN_KEY`.
RUN true "${REPRO_RUN_KEY}" && apk update

ENV LANG en_US.UTF-8
ENV LANG=en_US.UTF-8

## Install a pinned RubyGems and Bundler
RUN gem update --system 2.7.11
Expand Down
4 changes: 2 additions & 2 deletions src/engines/ruby/2.3/Dockerfile.centos
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ bundle --version
SHELL

# don't create ".bundle" in all our apps
ENV GEM_HOME /usr/local/bundle
ENV GEM_HOME=/usr/local/bundle
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV PATH $GEM_HOME/bin:$PATH
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"
Expand Down
Loading
Loading