Skip to content

Commit b06bfaf

Browse files
authored
Merge pull request #81 from DataDog/lloeki/env-warning
Address ENV warning
2 parents cc01fa2 + 2a8673a commit b06bfaf

56 files changed

Lines changed: 122 additions & 122 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/engines/jruby/10.0/Dockerfile.gnu

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,32 +38,32 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
3838
RUN apt-get install -y libc6-dev build-essential git locales tzdata curl --no-install-recommends && rm -rf /var/lib/apt/lists/*
3939

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

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

4747
# Install JRuby, pinned for reproducibility
48-
ENV JRUBY_VERSION 10.0.2.0
49-
ENV JRUBY_SHA256 b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
48+
ENV JRUBY_VERSION=10.0.2.0
49+
ENV JRUBY_SHA256=b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
5050
RUN mkdir /opt/jruby \
5151
&& 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 \
5252
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
5353
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
5454
&& rm /tmp/jruby.tar.gz \
5555
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
56-
ENV PATH /opt/jruby/bin:$PATH
56+
ENV PATH=/opt/jruby/bin:$PATH
5757

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

6262
# don't create ".bundle" in all our apps
63-
ENV GEM_HOME /usr/local/bundle
63+
ENV GEM_HOME=/usr/local/bundle
6464
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
6565
BUNDLE_APP_CONFIG="$GEM_HOME"
66-
ENV PATH $GEM_HOME/bin:$PATH
66+
ENV PATH=$GEM_HOME/bin:$PATH
6767

6868
# adjust permissions of a few directories for running "gem install" as an arbitrary user
6969
RUN mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME"

src/engines/jruby/10.0/Dockerfile.musl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
3232
RUN apk add curl bash
3333

3434
# Install JRuby, pinned for reproducibility
35-
ENV JRUBY_VERSION 10.0.2.0
36-
ENV JRUBY_SHA256 b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
35+
ENV JRUBY_VERSION=10.0.2.0
36+
ENV JRUBY_SHA256=b8a026f38aa98461a04ed0aa0b20891ce257ecbe53e124719ce9ee5b804525f1
3737
RUN mkdir /opt/jruby \
3838
&& 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 \
3939
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
4040
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
4141
&& rm /tmp/jruby.tar.gz \
4242
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
43-
ENV PATH /opt/jruby/bin:$PATH
43+
ENV PATH=/opt/jruby/bin:$PATH
4444

4545
# Skip installing gem documentation
4646
RUN mkdir -p /opt/jruby/etc \

src/engines/jruby/9.2/Dockerfile.gnu

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,33 +38,33 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
3838
RUN apt-get install -y libc6-dev build-essential git locales tzdata --no-install-recommends && rm -rf /var/lib/apt/lists/*
3939

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

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

4747
# Install JRuby, pinned for reproducibility
48-
ENV JRUBY_VERSION 9.2.21.0
49-
ENV JRUBY_SHA256 dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
48+
ENV JRUBY_VERSION=9.2.21.0
49+
ENV JRUBY_SHA256=dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
5050
RUN mkdir /opt/jruby \
5151
&& 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 \
5252
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
5353
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
5454
&& rm /tmp/jruby.tar.gz \
5555
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
56-
ENV PATH /opt/jruby/bin:$PATH
56+
ENV PATH=/opt/jruby/bin:$PATH
5757

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

6262

6363
# don't create ".bundle" in all our apps
64-
ENV GEM_HOME /usr/local/bundle
64+
ENV GEM_HOME=/usr/local/bundle
6565
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
6666
BUNDLE_APP_CONFIG="$GEM_HOME"
67-
ENV PATH $GEM_HOME/bin:$PATH
67+
ENV PATH=$GEM_HOME/bin:$PATH
6868

6969
# adjust permissions of a few directories for running "gem install" as an arbitrary user
7070
RUN mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME"

src/engines/jruby/9.2/Dockerfile.musl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
3232
RUN apk add curl bash
3333

3434
# Install JRuby, pinned for reproducibility
35-
ENV JRUBY_VERSION 9.2.21.0
36-
ENV JRUBY_SHA256 dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
35+
ENV JRUBY_VERSION=9.2.21.0
36+
ENV JRUBY_SHA256=dbf05fca4f61bd7d5131d9b83c5f4d1a249213c474b82def37e82013969c8b8a
3737
RUN mkdir /opt/jruby \
3838
&& 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 \
3939
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
4040
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
4141
&& rm /tmp/jruby.tar.gz \
4242
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
43-
ENV PATH /opt/jruby/bin:$PATH
43+
ENV PATH=/opt/jruby/bin:$PATH
4444

4545
# Skip installing gem documentation
4646
RUN mkdir -p /opt/jruby/etc \

src/engines/jruby/9.3/Dockerfile.gnu

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,32 +38,32 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
3838
RUN apt-get install -y libc6-dev build-essential git locales tzdata --no-install-recommends && rm -rf /var/lib/apt/lists/*
3939

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

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

4747
# Install JRuby, pinned for reproducibility
48-
ENV JRUBY_VERSION 9.3.15.0
49-
ENV JRUBY_SHA256 0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
48+
ENV JRUBY_VERSION=9.3.15.0
49+
ENV JRUBY_SHA256=0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
5050
RUN mkdir /opt/jruby \
5151
&& 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 \
5252
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
5353
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
5454
&& rm /tmp/jruby.tar.gz \
5555
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
56-
ENV PATH /opt/jruby/bin:$PATH
56+
ENV PATH=/opt/jruby/bin:$PATH
5757

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

6262
# don't create ".bundle" in all our apps
63-
ENV GEM_HOME /usr/local/bundle
63+
ENV GEM_HOME=/usr/local/bundle
6464
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
6565
BUNDLE_APP_CONFIG="$GEM_HOME"
66-
ENV PATH $GEM_HOME/bin:$PATH
66+
ENV PATH=$GEM_HOME/bin:$PATH
6767

6868
# adjust permissions of a few directories for running "gem install" as an arbitrary user
6969
RUN mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME"

src/engines/jruby/9.3/Dockerfile.musl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
3232
RUN apk add curl bash
3333

3434
# Install JRuby, pinned for reproducibility
35-
ENV JRUBY_VERSION 9.3.15.0
36-
ENV JRUBY_SHA256 0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
35+
ENV JRUBY_VERSION=9.3.15.0
36+
ENV JRUBY_SHA256=0f8f8e4ed2fe97976d1c68350e967b937a860001fe3cbb42247a8612ab246628
3737
RUN mkdir /opt/jruby \
3838
&& 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 \
3939
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
4040
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
4141
&& rm /tmp/jruby.tar.gz \
4242
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
43-
ENV PATH /opt/jruby/bin:$PATH
43+
ENV PATH=/opt/jruby/bin:$PATH
4444

4545
# Skip installing gem documentation
4646
RUN mkdir -p /opt/jruby/etc \

src/engines/jruby/9.4/Dockerfile.gnu

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,32 +38,32 @@ RUN true "${REPRO_RUN_KEY}" && apt-get update
3838
RUN apt-get install -y libc6-dev build-essential git locales tzdata --no-install-recommends && rm -rf /var/lib/apt/lists/*
3939

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

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

4747
# Install JRuby, pinned for reproducibility
48-
ENV JRUBY_VERSION 9.4.14.0
49-
ENV JRUBY_SHA256 7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
48+
ENV JRUBY_VERSION=9.4.14.0
49+
ENV JRUBY_SHA256=7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
5050
RUN mkdir /opt/jruby \
5151
&& 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 \
5252
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
5353
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
5454
&& rm /tmp/jruby.tar.gz \
5555
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
56-
ENV PATH /opt/jruby/bin:$PATH
56+
ENV PATH=/opt/jruby/bin:$PATH
5757

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

6262
# don't create ".bundle" in all our apps
63-
ENV GEM_HOME /usr/local/bundle
63+
ENV GEM_HOME=/usr/local/bundle
6464
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
6565
BUNDLE_APP_CONFIG="$GEM_HOME"
66-
ENV PATH $GEM_HOME/bin:$PATH
66+
ENV PATH=$GEM_HOME/bin:$PATH
6767

6868
# adjust permissions of a few directories for running "gem install" as an arbitrary user
6969
RUN mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME"

src/engines/jruby/9.4/Dockerfile.musl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ RUN true "${REPRO_RUN_KEY}" && apk update
3232
RUN apk add curl bash
3333

3434
# Install JRuby, pinned for reproducibility
35-
ENV JRUBY_VERSION 9.4.14.0
36-
ENV JRUBY_SHA256 7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
35+
ENV JRUBY_VERSION=9.4.14.0
36+
ENV JRUBY_SHA256=7ea2be8d0c5989714c795b4544492bf9941c9576e7a78f593a19c85567bc0452
3737
RUN mkdir /opt/jruby \
3838
&& 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 \
3939
&& echo "$JRUBY_SHA256 /tmp/jruby.tar.gz" | sha256sum -c - \
4040
&& tar -zx --strip-components=1 -f /tmp/jruby.tar.gz -C /opt/jruby \
4141
&& rm /tmp/jruby.tar.gz \
4242
&& ln -sf /opt/jruby/bin/jruby /usr/local/bin/ruby
43-
ENV PATH /opt/jruby/bin:$PATH
43+
ENV PATH=/opt/jruby/bin:$PATH
4444

4545
# Skip installing gem documentation
4646
RUN mkdir -p /opt/jruby/etc \

src/engines/ruby/1.8/Dockerfile.centos

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ bundle --version
242242
SHELL
243243

244244
# don't create ".bundle" in all our apps
245-
ENV GEM_HOME /usr/local/bundle
245+
ENV GEM_HOME=/usr/local/bundle
246246
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
247247
BUNDLE_APP_CONFIG="$GEM_HOME"
248-
ENV PATH $GEM_HOME/bin:$PATH
248+
ENV PATH=$GEM_HOME/bin:$PATH
249249

250250
# adjust permissions of a few directories for running "gem install" as an arbitrary user
251251
RUN mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME"

src/engines/ruby/1.8/Dockerfile.gnu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,10 @@ rm -rf /var/lib/apt/lists/*
245245
SHELL
246246

247247
# don't create ".bundle" in all our apps
248-
ENV GEM_HOME /usr/local/bundle
248+
ENV GEM_HOME=/usr/local/bundle
249249
ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
250250
BUNDLE_APP_CONFIG="$GEM_HOME"
251-
ENV PATH $GEM_HOME/bin:$PATH
251+
ENV PATH=$GEM_HOME/bin:$PATH
252252

253253
# adjust permissions of a few directories for running "gem install" as an arbitrary user
254254
RUN mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME"

0 commit comments

Comments
 (0)