Added -S flag to addgroup command within Dockerfiles
This commit is contained in:
parent
4b0abdae9e
commit
d7dea676fd
|
@ -18,7 +18,7 @@ RUN apk update && \
|
|||
rm -rf \
|
||||
/var/cache/apk/* && \
|
||||
addgroup \
|
||||
-g 1000 \
|
||||
-S -g 1000 \
|
||||
git && \
|
||||
adduser \
|
||||
-S -H -D \
|
||||
|
|
|
@ -18,7 +18,7 @@ RUN apk update && \
|
|||
rm -rf \
|
||||
/var/cache/apk/* && \
|
||||
addgroup \
|
||||
-g 1000 \
|
||||
-S -g 1000 \
|
||||
git && \
|
||||
adduser \
|
||||
-S -H -D \
|
||||
|
|
Loading…
Reference in a new issue