Skip to content

Commit 8f3650c

Browse files
Remove unnecessary PATH modification
I don't think that folder exists :/
1 parent defb10a commit 8f3650c

File tree

25 files changed

+25
-50
lines changed

25 files changed

+25
-50
lines changed

2.4/alpine3.10/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
127127
ENV BUNDLE_PATH="$GEM_HOME" \
128128
BUNDLE_SILENCE_ROOT_WARNING=1 \
129129
BUNDLE_APP_CONFIG="$GEM_HOME"
130-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
131-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
130+
ENV PATH $GEM_HOME/bin:$PATH
132131
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133132
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134133
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.4/alpine3.11/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
127127
ENV BUNDLE_PATH="$GEM_HOME" \
128128
BUNDLE_SILENCE_ROOT_WARNING=1 \
129129
BUNDLE_APP_CONFIG="$GEM_HOME"
130-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
131-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
130+
ENV PATH $GEM_HOME/bin:$PATH
132131
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133132
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134133
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.4/buster/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
8686
ENV BUNDLE_PATH="$GEM_HOME" \
8787
BUNDLE_SILENCE_ROOT_WARNING=1 \
8888
BUNDLE_APP_CONFIG="$GEM_HOME"
89-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
90-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
89+
ENV PATH $GEM_HOME/bin:$PATH
9190
# adjust permissions of a few directories for running "gem install" as an arbitrary user
9291
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
9392
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.4/buster/slim/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ ENV GEM_HOME /usr/local/bundle
112112
ENV BUNDLE_PATH="$GEM_HOME" \
113113
BUNDLE_SILENCE_ROOT_WARNING=1 \
114114
BUNDLE_APP_CONFIG="$GEM_HOME"
115-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
116-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
115+
ENV PATH $GEM_HOME/bin:$PATH
117116
# adjust permissions of a few directories for running "gem install" as an arbitrary user
118117
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
119118
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.4/stretch/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
8686
ENV BUNDLE_PATH="$GEM_HOME" \
8787
BUNDLE_SILENCE_ROOT_WARNING=1 \
8888
BUNDLE_APP_CONFIG="$GEM_HOME"
89-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
90-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
89+
ENV PATH $GEM_HOME/bin:$PATH
9190
# adjust permissions of a few directories for running "gem install" as an arbitrary user
9291
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
9392
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.4/stretch/slim/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ ENV GEM_HOME /usr/local/bundle
111111
ENV BUNDLE_PATH="$GEM_HOME" \
112112
BUNDLE_SILENCE_ROOT_WARNING=1 \
113113
BUNDLE_APP_CONFIG="$GEM_HOME"
114-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
115-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
114+
ENV PATH $GEM_HOME/bin:$PATH
116115
# adjust permissions of a few directories for running "gem install" as an arbitrary user
117116
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
118117
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.5/alpine3.10/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
127127
ENV BUNDLE_PATH="$GEM_HOME" \
128128
BUNDLE_SILENCE_ROOT_WARNING=1 \
129129
BUNDLE_APP_CONFIG="$GEM_HOME"
130-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
131-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
130+
ENV PATH $GEM_HOME/bin:$PATH
132131
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133132
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134133
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.5/alpine3.11/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
127127
ENV BUNDLE_PATH="$GEM_HOME" \
128128
BUNDLE_SILENCE_ROOT_WARNING=1 \
129129
BUNDLE_APP_CONFIG="$GEM_HOME"
130-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
131-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
130+
ENV PATH $GEM_HOME/bin:$PATH
132131
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133132
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134133
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.5/buster/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
8686
ENV BUNDLE_PATH="$GEM_HOME" \
8787
BUNDLE_SILENCE_ROOT_WARNING=1 \
8888
BUNDLE_APP_CONFIG="$GEM_HOME"
89-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
90-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
89+
ENV PATH $GEM_HOME/bin:$PATH
9190
# adjust permissions of a few directories for running "gem install" as an arbitrary user
9291
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
9392
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

2.5/buster/slim/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@ ENV GEM_HOME /usr/local/bundle
112112
ENV BUNDLE_PATH="$GEM_HOME" \
113113
BUNDLE_SILENCE_ROOT_WARNING=1 \
114114
BUNDLE_APP_CONFIG="$GEM_HOME"
115-
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
116-
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
115+
ENV PATH $GEM_HOME/bin:$PATH
117116
# adjust permissions of a few directories for running "gem install" as an arbitrary user
118117
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
119118
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)

0 commit comments

Comments
 (0)