diff --git a/dockerfiles/operator.Dockerfile b/dockerfiles/operator.Dockerfile index 72c20bf..c999b38 100644 --- a/dockerfiles/operator.Dockerfile +++ b/dockerfiles/operator.Dockerfile @@ -13,5 +13,11 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /ava FROM debian:stable-slim +WORKDIR /app + +RUN useradd -ms /bin/bash ava && \ + apt update && apt-get install -y ca-certificates + COPY --from=builder /ava /ava + ENTRYPOINT ["/ava"]