Use useradd instead off adduser
This commit is contained in:
parent
4187673463
commit
4281f20fef
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ ENV SERVER_PORT="8080"
|
||||||
ENV JMX_PORT="9090"
|
ENV JMX_PORT="9090"
|
||||||
ENV SERVER_PWD=somePW
|
ENV SERVER_PWD=somePW
|
||||||
|
|
||||||
RUN addgroup --system spring && adduser --system spring --group spring
|
RUN groupadd --system spring && useradd --system --gid spring spring
|
||||||
USER spring:spring
|
USER spring:spring
|
||||||
|
|
||||||
COPY docker/demo/config/ /sebserver/config/
|
COPY docker/demo/config/ /sebserver/config/
|
||||||
|
|
Loading…
Add table
Reference in a new issue