Skip to content

Commit

Permalink
Fix user group for Ruby
Browse files Browse the repository at this point in the history
This fixes ruby template to set app group properly. Fixes
[openfaas#41](openfaas#41). Before
used to add GEO data for user, after the change adds group to user

Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
  • Loading branch information
ivanayov committed Jul 9, 2018
1 parent f7ad0d2 commit 18e60ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ WORKDIR /home/app/function
RUN bundle install

RUN addgroup -S app \
&& adduser -S -g app app
&& adduser app -S -G app

RUN chown app:app -R /home/app

Expand Down

0 comments on commit 18e60ab

Please sign in to comment.