File tree Expand file tree Collapse file tree 25 files changed +75
-175
lines changed Expand file tree Collapse file tree 25 files changed +75
-175
lines changed Original file line number Diff line number Diff line change @@ -121,16 +121,12 @@ RUN set -eux; \
121
121
gem --version; \
122
122
bundle --version
123
123
124
- # install things globally, for great justice
125
- # and don't create ".bundle" in all our apps
124
+ # don't create ".bundle" in all our apps
126
125
ENV GEM_HOME /usr/local/bundle
127
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
128
- ENV BUNDLE_PATH="$GEM_HOME" \
129
- BUNDLE_SILENCE_ROOT_WARNING=1 \
126
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
130
127
BUNDLE_APP_CONFIG="$GEM_HOME"
131
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
128
+ ENV PATH $GEM_HOME/bin:$PATH
132
129
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133
130
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
135
131
136
132
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -121,16 +121,12 @@ RUN set -eux; \
121
121
gem --version; \
122
122
bundle --version
123
123
124
- # install things globally, for great justice
125
- # and don't create ".bundle" in all our apps
124
+ # don't create ".bundle" in all our apps
126
125
ENV GEM_HOME /usr/local/bundle
127
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
128
- ENV BUNDLE_PATH="$GEM_HOME" \
129
- BUNDLE_SILENCE_ROOT_WARNING=1 \
126
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
130
127
BUNDLE_APP_CONFIG="$GEM_HOME"
131
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
128
+ ENV PATH $GEM_HOME/bin:$PATH
132
129
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133
130
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
135
131
136
132
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -80,16 +80,12 @@ RUN set -eux; \
80
80
gem --version; \
81
81
bundle --version
82
82
83
- # install things globally, for great justice
84
- # and don't create ".bundle" in all our apps
83
+ # don't create ".bundle" in all our apps
85
84
ENV GEM_HOME /usr/local/bundle
86
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
87
- ENV BUNDLE_PATH="$GEM_HOME" \
88
- BUNDLE_SILENCE_ROOT_WARNING=1 \
85
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
89
86
BUNDLE_APP_CONFIG="$GEM_HOME"
90
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
87
+ ENV PATH $GEM_HOME/bin:$PATH
91
88
# adjust permissions of a few directories for running "gem install" as an arbitrary user
92
89
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
93
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
94
90
95
91
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -106,16 +106,12 @@ RUN set -eux; \
106
106
gem --version; \
107
107
bundle --version
108
108
109
- # install things globally, for great justice
110
- # and don't create ".bundle" in all our apps
109
+ # don't create ".bundle" in all our apps
111
110
ENV GEM_HOME /usr/local/bundle
112
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
113
- ENV BUNDLE_PATH="$GEM_HOME" \
114
- BUNDLE_SILENCE_ROOT_WARNING=1 \
111
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
115
112
BUNDLE_APP_CONFIG="$GEM_HOME"
116
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
113
+ ENV PATH $GEM_HOME/bin:$PATH
117
114
# adjust permissions of a few directories for running "gem install" as an arbitrary user
118
115
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
119
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
120
116
121
117
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -80,16 +80,12 @@ RUN set -eux; \
80
80
gem --version; \
81
81
bundle --version
82
82
83
- # install things globally, for great justice
84
- # and don't create ".bundle" in all our apps
83
+ # don't create ".bundle" in all our apps
85
84
ENV GEM_HOME /usr/local/bundle
86
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
87
- ENV BUNDLE_PATH="$GEM_HOME" \
88
- BUNDLE_SILENCE_ROOT_WARNING=1 \
85
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
89
86
BUNDLE_APP_CONFIG="$GEM_HOME"
90
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
87
+ ENV PATH $GEM_HOME/bin:$PATH
91
88
# adjust permissions of a few directories for running "gem install" as an arbitrary user
92
89
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
93
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
94
90
95
91
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -105,16 +105,12 @@ RUN set -eux; \
105
105
gem --version; \
106
106
bundle --version
107
107
108
- # install things globally, for great justice
109
- # and don't create ".bundle" in all our apps
108
+ # don't create ".bundle" in all our apps
110
109
ENV GEM_HOME /usr/local/bundle
111
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
112
- ENV BUNDLE_PATH="$GEM_HOME" \
113
- BUNDLE_SILENCE_ROOT_WARNING=1 \
110
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
114
111
BUNDLE_APP_CONFIG="$GEM_HOME"
115
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
112
+ ENV PATH $GEM_HOME/bin:$PATH
116
113
# adjust permissions of a few directories for running "gem install" as an arbitrary user
117
114
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
118
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
119
115
120
116
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -121,16 +121,12 @@ RUN set -eux; \
121
121
gem --version; \
122
122
bundle --version
123
123
124
- # install things globally, for great justice
125
- # and don't create ".bundle" in all our apps
124
+ # don't create ".bundle" in all our apps
126
125
ENV GEM_HOME /usr/local/bundle
127
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
128
- ENV BUNDLE_PATH="$GEM_HOME" \
129
- BUNDLE_SILENCE_ROOT_WARNING=1 \
126
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
130
127
BUNDLE_APP_CONFIG="$GEM_HOME"
131
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
128
+ ENV PATH $GEM_HOME/bin:$PATH
132
129
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133
130
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
135
131
136
132
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -121,16 +121,12 @@ RUN set -eux; \
121
121
gem --version; \
122
122
bundle --version
123
123
124
- # install things globally, for great justice
125
- # and don't create ".bundle" in all our apps
124
+ # don't create ".bundle" in all our apps
126
125
ENV GEM_HOME /usr/local/bundle
127
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
128
- ENV BUNDLE_PATH="$GEM_HOME" \
129
- BUNDLE_SILENCE_ROOT_WARNING=1 \
126
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
130
127
BUNDLE_APP_CONFIG="$GEM_HOME"
131
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
128
+ ENV PATH $GEM_HOME/bin:$PATH
132
129
# adjust permissions of a few directories for running "gem install" as an arbitrary user
133
130
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
134
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
135
131
136
132
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -80,16 +80,12 @@ RUN set -eux; \
80
80
gem --version; \
81
81
bundle --version
82
82
83
- # install things globally, for great justice
84
- # and don't create ".bundle" in all our apps
83
+ # don't create ".bundle" in all our apps
85
84
ENV GEM_HOME /usr/local/bundle
86
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
87
- ENV BUNDLE_PATH="$GEM_HOME" \
88
- BUNDLE_SILENCE_ROOT_WARNING=1 \
85
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
89
86
BUNDLE_APP_CONFIG="$GEM_HOME"
90
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
87
+ ENV PATH $GEM_HOME/bin:$PATH
91
88
# adjust permissions of a few directories for running "gem install" as an arbitrary user
92
89
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
93
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
94
90
95
91
CMD [ "irb" ]
Original file line number Diff line number Diff line change @@ -106,16 +106,12 @@ RUN set -eux; \
106
106
gem --version; \
107
107
bundle --version
108
108
109
- # install things globally, for great justice
110
- # and don't create ".bundle" in all our apps
109
+ # don't create ".bundle" in all our apps
111
110
ENV GEM_HOME /usr/local/bundle
112
- ENV GEM_PATH $GEM_HOME/ruby/$RUBY_MAJOR.0:$GEM_PATH
113
- ENV BUNDLE_PATH="$GEM_HOME" \
114
- BUNDLE_SILENCE_ROOT_WARNING=1 \
111
+ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
115
112
BUNDLE_APP_CONFIG="$GEM_HOME"
116
- ENV PATH $GEM_HOME/bin:$GEM_HOME/ruby/$RUBY_MAJOR.0/bin:$ PATH
113
+ ENV PATH $GEM_HOME/bin:$PATH
117
114
# adjust permissions of a few directories for running "gem install" as an arbitrary user
118
115
RUN mkdir -p "$GEM_HOME" && chmod 777 "$GEM_HOME"
119
- # (BUNDLE_PATH = GEM_HOME, no need to mkdir/chown both)
120
116
121
117
CMD [ "irb" ]
You can’t perform that action at this time.
0 commit comments