Skip to content

Commit

Permalink
Set $HOME to writable directory
Browse files Browse the repository at this point in the history
Otherwise rspec throws a warning
and simplecov fails altogether.
  • Loading branch information
panjan committed Sep 27, 2018
1 parent f65dc78 commit 8a18652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN curl -sSL https://get.rvm.io | bash -s stable --ruby=jruby-9.1.14

# Switch to directory with sources
WORKDIR /src
ENV HOME=/src

# login shell is required by rvm
RUN /bin/bash -l -c ". /usr/local/rvm/scripts/rvm && gem update --system \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.jruby
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apk add --no-cache curl make gcc git g++ python linux-headers binutils-gold

# Switch to directory with sources
WORKDIR /src
ENV HOME=/src

RUN gem update --system \
&& gem install bundler
Expand Down

0 comments on commit 8a18652

Please sign in to comment.