From 15a5f461730237de3e448c486fc7a03342531052 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Mon, 8 Jul 2024 09:47:42 +0200 Subject: [PATCH] Supress `LegacyKeyValueFormat` warnings > 6 warnings found (use --debug to expand): > - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 28) > - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 31) > - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 32) > - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 33) > - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 157) > - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 160) --- 3.1/alpine3.19/Dockerfile | 12 ++++++------ 3.1/alpine3.20/Dockerfile | 12 ++++++------ 3.1/bookworm/Dockerfile | 12 ++++++------ 3.1/bullseye/Dockerfile | 12 ++++++------ 3.1/slim-bookworm/Dockerfile | 12 ++++++------ 3.1/slim-bullseye/Dockerfile | 12 ++++++------ 3.2/alpine3.19/Dockerfile | 12 ++++++------ 3.2/alpine3.20/Dockerfile | 12 ++++++------ 3.2/bookworm/Dockerfile | 12 ++++++------ 3.2/bullseye/Dockerfile | 12 ++++++------ 3.2/slim-bookworm/Dockerfile | 12 ++++++------ 3.2/slim-bullseye/Dockerfile | 12 ++++++------ 3.3/alpine3.19/Dockerfile | 12 ++++++------ 3.3/alpine3.20/Dockerfile | 12 ++++++------ 3.3/bookworm/Dockerfile | 12 ++++++------ 3.3/bullseye/Dockerfile | 12 ++++++------ 3.3/slim-bookworm/Dockerfile | 12 ++++++------ 3.3/slim-bullseye/Dockerfile | 12 ++++++------ 3.4-rc/alpine3.19/Dockerfile | 12 ++++++------ 3.4-rc/alpine3.20/Dockerfile | 12 ++++++------ 3.4-rc/bookworm/Dockerfile | 12 ++++++------ 3.4-rc/bullseye/Dockerfile | 12 ++++++------ 3.4-rc/slim-bookworm/Dockerfile | 12 ++++++------ 3.4-rc/slim-bullseye/Dockerfile | 12 ++++++------ Dockerfile.template | 12 ++++++------ 25 files changed, 150 insertions(+), 150 deletions(-) diff --git a/3.1/alpine3.19/Dockerfile b/3.1/alpine3.19/Dockerfile index ab93cb527..a7aef414b 100644 --- a/3.1/alpine3.19/Dockerfile +++ b/3.1/alpine3.19/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/ -ENV RUBY_VERSION 3.1.6 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz -ENV RUBY_DOWNLOAD_SHA256 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 +ENV RUBY_VERSION=3.1.6 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz +ENV RUBY_DOWNLOAD_SHA256=597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -132,10 +132,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.1/alpine3.20/Dockerfile b/3.1/alpine3.20/Dockerfile index 7b0a19ee4..32106fade 100644 --- a/3.1/alpine3.20/Dockerfile +++ b/3.1/alpine3.20/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/ -ENV RUBY_VERSION 3.1.6 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz -ENV RUBY_DOWNLOAD_SHA256 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 +ENV RUBY_VERSION=3.1.6 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz +ENV RUBY_DOWNLOAD_SHA256=597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -132,10 +132,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.1/bookworm/Dockerfile b/3.1/bookworm/Dockerfile index 321119217..b20fd89c6 100644 --- a/3.1/bookworm/Dockerfile +++ b/3.1/bookworm/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/ -ENV RUBY_VERSION 3.1.6 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz -ENV RUBY_DOWNLOAD_SHA256 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 +ENV RUBY_VERSION=3.1.6 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz +ENV RUBY_DOWNLOAD_SHA256=597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -86,10 +86,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.1/bullseye/Dockerfile b/3.1/bullseye/Dockerfile index 245e907ba..feec6dd96 100644 --- a/3.1/bullseye/Dockerfile +++ b/3.1/bullseye/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/ -ENV RUBY_VERSION 3.1.6 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz -ENV RUBY_DOWNLOAD_SHA256 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 +ENV RUBY_VERSION=3.1.6 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz +ENV RUBY_DOWNLOAD_SHA256=597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -86,10 +86,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.1/slim-bookworm/Dockerfile b/3.1/slim-bookworm/Dockerfile index 6d83ac067..1cabcd087 100644 --- a/3.1/slim-bookworm/Dockerfile +++ b/3.1/slim-bookworm/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/ -ENV RUBY_VERSION 3.1.6 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz -ENV RUBY_DOWNLOAD_SHA256 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 +ENV RUBY_VERSION=3.1.6 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz +ENV RUBY_DOWNLOAD_SHA256=597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -113,10 +113,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.1/slim-bullseye/Dockerfile b/3.1/slim-bullseye/Dockerfile index 22a77ef17..6e0f5ce0d 100644 --- a/3.1/slim-bullseye/Dockerfile +++ b/3.1/slim-bullseye/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/29/ruby-3-1-6-released/ -ENV RUBY_VERSION 3.1.6 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz -ENV RUBY_DOWNLOAD_SHA256 597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 +ENV RUBY_VERSION=3.1.6 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.6.tar.xz +ENV RUBY_DOWNLOAD_SHA256=597bd1849f252d8a6863cb5d38014ac54152b508c36dca156f6356a9e63c6102 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -113,10 +113,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.2/alpine3.19/Dockerfile b/3.2/alpine3.19/Dockerfile index 926f649a0..5196b202a 100644 --- a/3.2/alpine3.19/Dockerfile +++ b/3.2/alpine3.19/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/ -ENV RUBY_VERSION 3.2.4 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz -ENV RUBY_DOWNLOAD_SHA256 e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b +ENV RUBY_VERSION=3.2.4 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz +ENV RUBY_DOWNLOAD_SHA256=e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -156,10 +156,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.2/alpine3.20/Dockerfile b/3.2/alpine3.20/Dockerfile index 1ff718639..08662d7dc 100644 --- a/3.2/alpine3.20/Dockerfile +++ b/3.2/alpine3.20/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/ -ENV RUBY_VERSION 3.2.4 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz -ENV RUBY_DOWNLOAD_SHA256 e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b +ENV RUBY_VERSION=3.2.4 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz +ENV RUBY_DOWNLOAD_SHA256=e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -156,10 +156,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.2/bookworm/Dockerfile b/3.2/bookworm/Dockerfile index b66ce5015..301f9d231 100644 --- a/3.2/bookworm/Dockerfile +++ b/3.2/bookworm/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/ -ENV RUBY_VERSION 3.2.4 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz -ENV RUBY_DOWNLOAD_SHA256 e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b +ENV RUBY_VERSION=3.2.4 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz +ENV RUBY_DOWNLOAD_SHA256=e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -110,10 +110,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.2/bullseye/Dockerfile b/3.2/bullseye/Dockerfile index e911735d2..49a71ecd9 100644 --- a/3.2/bullseye/Dockerfile +++ b/3.2/bullseye/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/ -ENV RUBY_VERSION 3.2.4 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz -ENV RUBY_DOWNLOAD_SHA256 e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b +ENV RUBY_VERSION=3.2.4 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz +ENV RUBY_DOWNLOAD_SHA256=e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -110,10 +110,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.2/slim-bookworm/Dockerfile b/3.2/slim-bookworm/Dockerfile index ae678bdd9..f7053bb73 100644 --- a/3.2/slim-bookworm/Dockerfile +++ b/3.2/slim-bookworm/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/ -ENV RUBY_VERSION 3.2.4 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz -ENV RUBY_DOWNLOAD_SHA256 e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b +ENV RUBY_VERSION=3.2.4 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz +ENV RUBY_DOWNLOAD_SHA256=e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -137,10 +137,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.2/slim-bullseye/Dockerfile b/3.2/slim-bullseye/Dockerfile index 904567677..082242bc5 100644 --- a/3.2/slim-bullseye/Dockerfile +++ b/3.2/slim-bullseye/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/04/23/ruby-3-2-4-released/ -ENV RUBY_VERSION 3.2.4 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz -ENV RUBY_DOWNLOAD_SHA256 e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b +ENV RUBY_VERSION=3.2.4 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.4.tar.xz +ENV RUBY_DOWNLOAD_SHA256=e7f1653d653232ec433472489a91afbc7433c9f760cc822defe7437c9d95791b # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -137,10 +137,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.3/alpine3.19/Dockerfile b/3.3/alpine3.19/Dockerfile index d0d5c8d34..0323b2d56 100644 --- a/3.3/alpine3.19/Dockerfile +++ b/3.3/alpine3.19/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/06/12/ruby-3-3-3-released/ -ENV RUBY_VERSION 3.3.3 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz -ENV RUBY_DOWNLOAD_SHA256 83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e +ENV RUBY_VERSION=3.3.3 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz +ENV RUBY_DOWNLOAD_SHA256=83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -154,10 +154,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.3/alpine3.20/Dockerfile b/3.3/alpine3.20/Dockerfile index 442db5182..4ff94c8aa 100644 --- a/3.3/alpine3.20/Dockerfile +++ b/3.3/alpine3.20/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/06/12/ruby-3-3-3-released/ -ENV RUBY_VERSION 3.3.3 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz -ENV RUBY_DOWNLOAD_SHA256 83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e +ENV RUBY_VERSION=3.3.3 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz +ENV RUBY_DOWNLOAD_SHA256=83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -154,10 +154,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.3/bookworm/Dockerfile b/3.3/bookworm/Dockerfile index 7fe095b6a..5c0610b5c 100644 --- a/3.3/bookworm/Dockerfile +++ b/3.3/bookworm/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/06/12/ruby-3-3-3-released/ -ENV RUBY_VERSION 3.3.3 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz -ENV RUBY_DOWNLOAD_SHA256 83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e +ENV RUBY_VERSION=3.3.3 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz +ENV RUBY_DOWNLOAD_SHA256=83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -109,10 +109,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.3/bullseye/Dockerfile b/3.3/bullseye/Dockerfile index 1f495fc11..9736a540c 100644 --- a/3.3/bullseye/Dockerfile +++ b/3.3/bullseye/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/06/12/ruby-3-3-3-released/ -ENV RUBY_VERSION 3.3.3 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz -ENV RUBY_DOWNLOAD_SHA256 83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e +ENV RUBY_VERSION=3.3.3 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz +ENV RUBY_DOWNLOAD_SHA256=83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -109,10 +109,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.3/slim-bookworm/Dockerfile b/3.3/slim-bookworm/Dockerfile index 36e3537df..9194084ef 100644 --- a/3.3/slim-bookworm/Dockerfile +++ b/3.3/slim-bookworm/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/06/12/ruby-3-3-3-released/ -ENV RUBY_VERSION 3.3.3 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz -ENV RUBY_DOWNLOAD_SHA256 83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e +ENV RUBY_VERSION=3.3.3 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz +ENV RUBY_DOWNLOAD_SHA256=83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -135,10 +135,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.3/slim-bullseye/Dockerfile b/3.3/slim-bullseye/Dockerfile index 5e03116d7..af40c2223 100644 --- a/3.3/slim-bullseye/Dockerfile +++ b/3.3/slim-bullseye/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/06/12/ruby-3-3-3-released/ -ENV RUBY_VERSION 3.3.3 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz -ENV RUBY_DOWNLOAD_SHA256 83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e +ENV RUBY_VERSION=3.3.3 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.3.tar.xz +ENV RUBY_DOWNLOAD_SHA256=83c0995388399c9555bad87e70af069755b5a9d84bbaa74aa22d1e37ff70fc1e # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -135,10 +135,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.4-rc/alpine3.19/Dockerfile b/3.4-rc/alpine3.19/Dockerfile index fa9b0d1ad..b413d0733 100644 --- a/3.4-rc/alpine3.19/Dockerfile +++ b/3.4-rc/alpine3.19/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/16/ruby-3-4-0-preview1-released/ -ENV RUBY_VERSION 3.4.0-preview1 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz -ENV RUBY_DOWNLOAD_SHA256 4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 +ENV RUBY_VERSION=3.4.0-preview1 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz +ENV RUBY_DOWNLOAD_SHA256=4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -154,10 +154,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.4-rc/alpine3.20/Dockerfile b/3.4-rc/alpine3.20/Dockerfile index 52e376e19..63b6d28fe 100644 --- a/3.4-rc/alpine3.20/Dockerfile +++ b/3.4-rc/alpine3.20/Dockerfile @@ -25,12 +25,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/16/ruby-3-4-0-preview1-released/ -ENV RUBY_VERSION 3.4.0-preview1 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz -ENV RUBY_DOWNLOAD_SHA256 4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 +ENV RUBY_VERSION=3.4.0-preview1 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz +ENV RUBY_DOWNLOAD_SHA256=4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -154,10 +154,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.4-rc/bookworm/Dockerfile b/3.4-rc/bookworm/Dockerfile index 73b460924..ca9606237 100644 --- a/3.4-rc/bookworm/Dockerfile +++ b/3.4-rc/bookworm/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/16/ruby-3-4-0-preview1-released/ -ENV RUBY_VERSION 3.4.0-preview1 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz -ENV RUBY_DOWNLOAD_SHA256 4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 +ENV RUBY_VERSION=3.4.0-preview1 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz +ENV RUBY_DOWNLOAD_SHA256=4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -109,10 +109,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.4-rc/bullseye/Dockerfile b/3.4-rc/bullseye/Dockerfile index 23f69e2e2..33d40b2f4 100644 --- a/3.4-rc/bullseye/Dockerfile +++ b/3.4-rc/bullseye/Dockerfile @@ -14,12 +14,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/16/ruby-3-4-0-preview1-released/ -ENV RUBY_VERSION 3.4.0-preview1 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz -ENV RUBY_DOWNLOAD_SHA256 4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 +ENV RUBY_VERSION=3.4.0-preview1 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz +ENV RUBY_DOWNLOAD_SHA256=4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -109,10 +109,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.4-rc/slim-bookworm/Dockerfile b/3.4-rc/slim-bookworm/Dockerfile index 437c092c4..f2ae2300a 100644 --- a/3.4-rc/slim-bookworm/Dockerfile +++ b/3.4-rc/slim-bookworm/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/16/ruby-3-4-0-preview1-released/ -ENV RUBY_VERSION 3.4.0-preview1 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz -ENV RUBY_DOWNLOAD_SHA256 4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 +ENV RUBY_VERSION=3.4.0-preview1 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz +ENV RUBY_DOWNLOAD_SHA256=4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -135,10 +135,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/3.4-rc/slim-bullseye/Dockerfile b/3.4-rc/slim-bullseye/Dockerfile index bf4736f8f..b56c5b6c7 100644 --- a/3.4-rc/slim-bullseye/Dockerfile +++ b/3.4-rc/slim-bullseye/Dockerfile @@ -28,12 +28,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/en/news/2024/05/16/ruby-3-4-0-preview1-released/ -ENV RUBY_VERSION 3.4.0-preview1 -ENV RUBY_DOWNLOAD_URL https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz -ENV RUBY_DOWNLOAD_SHA256 4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 +ENV RUBY_VERSION=3.4.0-preview1 +ENV RUBY_DOWNLOAD_URL=https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.0-preview1.tar.xz +ENV RUBY_DOWNLOAD_SHA256=4ee4ec44366050d4b2ee1d88034cc63e0b9174a1a6650285777f3d3447213a97 # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -135,10 +135,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user diff --git a/Dockerfile.template b/Dockerfile.template index 84b22db42..43ffc7a95 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -49,12 +49,12 @@ RUN set -eux; \ echo 'update: --no-document'; \ } >> /usr/local/etc/gemrc -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 # https://www.ruby-lang.org/{{ .post | ltrimstr("/") }} -ENV RUBY_VERSION {{ .version }} -ENV RUBY_DOWNLOAD_URL {{ .url.xz }} -ENV RUBY_DOWNLOAD_SHA256 {{ .sha256.xz }} +ENV RUBY_VERSION={{ .version }} +ENV RUBY_DOWNLOAD_URL={{ .url.xz }} +ENV RUBY_DOWNLOAD_SHA256={{ .sha256.xz }} # some of ruby's build scripts are written in ruby # we purge system ruby later to make sure our final image uses what we just built @@ -288,10 +288,10 @@ RUN set -eux; \ bundle --version # 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 RUN set -eux; \ mkdir "$GEM_HOME"; \ # adjust permissions of GEM_HOME for running "gem install" as an arbitrary user