Skip to content

Commit

Permalink
Fix group write access for /pact_broker
Browse files Browse the repository at this point in the history
  • Loading branch information
tavogel committed Apr 25, 2019
1 parent 9c64b75 commit fcc431c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ FROM ruby:2.6-alpine

# Installation path
ENV HOME=/pact_broker
WORKDIR $HOME

# Setup ruby user & install application dependencies
RUN set -ex && \
chmod g+w $HOME && \
adduser -h $HOME -s /bin/false -D -S -G root ruby && \
chmod g+w $HOME && \
apk add --update --no-cache make gcc libc-dev mariadb-dev postgresql-dev sqlite-dev

# Install Gems
WORKDIR $HOME
COPY pact_broker/Gemfile pact_broker/Gemfile.lock $HOME/
RUN set -ex && \
bundle install --no-cache --deployment --without='development test' && \
Expand Down

0 comments on commit fcc431c

Please sign in to comment.