From e12758ae2717107a5837da3078fc3fc2a5decc4c Mon Sep 17 00:00:00 2001 From: "Ivana Yovcheva (VMware)" Date: Mon, 9 Jul 2018 17:39:45 +0300 Subject: [PATCH] Fix user group for Ruby This fixes ruby template to set app group properly. Fixes [#41](https://github.com/openfaas/templates/issues/41). Before used to add GEO data for user, after the change adds group to user Signed-off-by: Ivana Yovcheva (VMware) --- template/ruby/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/ruby/Dockerfile b/template/ruby/Dockerfile index 52564a28..ff690d7f 100644 --- a/template/ruby/Dockerfile +++ b/template/ruby/Dockerfile @@ -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