diff --git a/Dockerfile b/Dockerfile index c494171..0fdf837 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,12 @@ ARG BUILDER FROM $BUILDER AS builder FROM ubuntu:24.04 + COPY --from=builder /usr/local/sbin/nutcracker / -RUN mkdir /conf + +RUN useradd -M -u 1001 -U nutcracker && \ + install -m 755 --directory --group=nutcracker --owner=nutcracker /conf + +USER 1001 + ENTRYPOINT [ "/nutcracker" ]