From bbb6f490fbbd5bdbefb0703de6c4eab4663a4c65 Mon Sep 17 00:00:00 2001 From: Peter Dedene Date: Wed, 5 Jul 2023 11:13:09 +0200 Subject: [PATCH] Add BUNDLE_PATH env var --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5f87c94..971c41f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -149,10 +149,10 @@ RUN set -eux; \ # don't create ".bundle" in all our apps ENV GEM_HOME /usr/local/bundle -ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ - BUNDLE_APP_CONFIG="$GEM_HOME" +ENV BUNDLE_PATH="$GEM_HOME" \ + BUNDLE_SILENCE_ROOT_WARNING=1 \ + BUNDLE_APP_CONFIG="$GEM_HOME" \ + LANG=C.UTF-8 LC_ALL=C.UTF-8 ENV PATH $GEM_HOME/bin:$PATH -# adjust permissions of a few directories for running "gem install" as an arbitrary user -RUN mkdir -p "$GEM_HOME" && chmod 1777 "$GEM_HOME" CMD [ "irb" ]