mirror of https://github.com/go-gitea/gitea.git
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 \
|
rm -rf \
|
||||||
/var/cache/apk/* && \
|
/var/cache/apk/* && \
|
||||||
addgroup \
|
addgroup \
|
||||||
-g 1000 \
|
-S -g 1000 \
|
||||||
git && \
|
git && \
|
||||||
adduser \
|
adduser \
|
||||||
-S -H -D \
|
-S -H -D \
|
||||||
|
|
|
@ -18,7 +18,7 @@ RUN apk update && \
|
||||||
rm -rf \
|
rm -rf \
|
||||||
/var/cache/apk/* && \
|
/var/cache/apk/* && \
|
||||||
addgroup \
|
addgroup \
|
||||||
-g 1000 \
|
-S -g 1000 \
|
||||||
git && \
|
git && \
|
||||||
adduser \
|
adduser \
|
||||||
-S -H -D \
|
-S -H -D \
|
||||||
|
|
Loading…
Reference in New Issue