Skip to content
This repository has been archived by the owner. It is now read-only.

Avoid warning about running Bundler as root #34

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions onbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ FROM ruby:2.2
# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1

# avoid warning about running Bundler as root
RUN bundle config --global silence_root_warning 1

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

Expand Down