Skip to content

Commit 0e47be3

Browse files
alessfgthresheek
authored andcommitted
Remove dash from su command
Fixes nginx#327
1 parent b749353 commit 0e47be3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

mainline/alpine-perl/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN set -x \
6464
bash \
6565
alpine-sdk \
6666
findutils \
67-
&& su - nobody -s /bin/sh -c " \
67+
&& su nobody -s /bin/sh -c " \
6868
export HOME=${tempDir} \
6969
&& cd ${tempDir} \
7070
&& hg clone https://hg.nginx.org/pkg-oss \

mainline/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN set -x \
6363
bash \
6464
alpine-sdk \
6565
findutils \
66-
&& su - nobody -s /bin/sh -c " \
66+
&& su nobody -s /bin/sh -c " \
6767
export HOME=${tempDir} \
6868
&& cd ${tempDir} \
6969
&& hg clone https://hg.nginx.org/pkg-oss \

stable/alpine-perl/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ RUN set -x \
6464
bash \
6565
alpine-sdk \
6666
findutils \
67-
&& su - nobody -s /bin/sh -c " \
67+
&& su nobody -s /bin/sh -c " \
6868
export HOME=${tempDir} \
6969
&& cd ${tempDir} \
7070
&& hg clone https://hg.nginx.org/pkg-oss \

stable/alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN set -x \
6363
bash \
6464
alpine-sdk \
6565
findutils \
66-
&& su - nobody -s /bin/sh -c " \
66+
&& su nobody -s /bin/sh -c " \
6767
export HOME=${tempDir} \
6868
&& cd ${tempDir} \
6969
&& hg clone https://hg.nginx.org/pkg-oss \

0 commit comments

Comments
 (0)