diff --git a/Dockerfile b/Dockerfile index d66b544..bd9406a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,10 @@ FROM alpine LABEL org.opencontainers.image.authors="bluefox@privacynerd.de" -RUN apk update --no-cache && apk add --no-cache ncurses-terminfo-base +RUN apk update --no-cache && \ + apk add --no-cache ncurses-terminfo-base && \ + adduser -g "cmatrix" -s /usr/sbin/nologin -D -H cmatrix COPY --from=cmatrixbuildimage /cmatrix/cmatrix /cmatrix +USER cmatrix CMD ["./cmatrix"]