mirror of
https://github.com/docker-library/ruby.git
synced 2022-11-09 11:41:34 -05:00
Remove unnecessary PATH modification
I don't think that folder exists :/
This commit is contained in:
parent
defb10adcd
commit
8f3650c2ea
25 changed files with 25 additions and 50 deletions
|
@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -112,8 +112,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -111,8 +111,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -112,8 +112,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -111,8 +111,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -123,8 +123,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -123,8 +123,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -82,8 +82,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -108,8 +108,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -82,8 +82,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -107,8 +107,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -123,8 +123,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -123,8 +123,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -82,8 +82,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -108,8 +108,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -127,8 +127,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -86,8 +86,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
|
@ -112,8 +112,7 @@ ENV GEM_HOME /usr/local/bundle
|
||||||
ENV BUNDLE_PATH="$GEM_HOME" \
|
ENV BUNDLE_PATH="$GEM_HOME" \
|
||||||
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
BUNDLE_SILENCE_ROOT_WARNING=1 \
|
||||||
BUNDLE_APP_CONFIG="$GEM_HOME"
|
BUNDLE_APP_CONFIG="$GEM_HOME"
|
||||||
# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
|
ENV PATH $GEM_HOME/bin:$PATH
|
||||||
ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:$PATH
|
|
||||||
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
# adjust permissions of a few directories for running "gem install" as an arbitrary user
|
||||||
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
|
||||||
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
# (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
|
||||||
|
|
Loading…
Reference in a new issue