Skip to content

Commit

Permalink
create cerebro user without home
Browse files Browse the repository at this point in the history
  • Loading branch information
jduepmeier committed Jan 5, 2022
1 parent d49e0fa commit 26b9c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ FROM openjdk:11.0.13-jre-slim
COPY --from=builder /opt/cerebro /opt/cerebro

RUN addgroup -gid 1000 cerebro \
&& adduser -gid 1000 -uid 1000 cerebro \
&& adduser -q --system --no-create-home --disabled-login -gid 1000 -uid 1000 cerebro \
&& chown -R cerebro:cerebro /opt/cerebro

WORKDIR /opt/cerebro
Expand Down

0 comments on commit 26b9c2f

Please sign in to comment.