Skip to content

Commit ecaf718

Browse files
committed
Fix Docker build deprecation notices
1 parent e56f323 commit ecaf718

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG DEBIAN_IMAGE
1+
ARG DEBIAN_IMAGE=bookworm
22

33
FROM 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.
3737
RUN 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

0 commit comments

Comments
 (0)