diff --git a/cron/Dockerfile b/cron/Dockerfile index 0e6e76e..14b901f 100644 --- a/cron/Dockerfile +++ b/cron/Dockerfile @@ -1,6 +1,7 @@ ARG BASE_IMAGE FROM ${BASE_IMAGE} +USER 0 RUN apt-get update && apt-get install -y --no-install-recommends cron && \ rm -r /var/lib/apt/lists/* COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]