File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ARG DEBIAN_IMAGE
1+ ARG DEBIAN_IMAGE=bookworm
22
33FROM debian:${DEBIAN_IMAGE}
44
@@ -24,15 +24,15 @@ RUN apt-get update -q \
2424 && rm -fr /var/cache/apt \
2525 && rm /etc/apt/sources.list.d/fullstaq-ruby.list
2626
27- ENV GEM_HOME /usr/local/bundle
28- ENV BUNDLE_PATH="$GEM_HOME" \
27+ ENV GEM_HOME= /usr/local/bundle \
28+ BUNDLE_PATH=/usr/local/bundle \
2929 BUNDLE_SILENCE_ROOT_WARNING=1 \
30- BUNDLE_APP_CONFIG="$GEM_HOME" \
30+ BUNDLE_APP_CONFIG=/usr/local/bundle \
3131 RUBY_VERSION=${RUBY_VERSION}-${RUBY_VARIANT} \
3232 LANG=C.UTF-8 LC_ALL=C.UTF-8
3333
3434# path recommendation: https://github.com/bundler/bundler/pull/6469#issuecomment-383235438
35- ENV PATH $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:/usr/lib/fullstaq-ruby/versions/${RUBY_VERSION}/bin:$PATH
35+ ENV PATH= $GEM_HOME/bin:$BUNDLE_PATH/gems/bin:/usr/lib/fullstaq-ruby/versions/${RUBY_VERSION}/bin:$PATH
3636# Make login shell (bash -l) to have the same path as regular one.
3737RUN echo 'PATH=$GEM_HOME/bin:$BUNDLE_PATH/gems/bin:/usr/lib/fullstaq-ruby/versions/${RUBY_VERSION}/bin:$PATH' >> /etc/profile.d/fullstaq-ruby.sh
3838
You can’t perform that action at this time.
0 commit comments