diff --git a/deploy/Dockerfile-slim b/deploy/Dockerfile-slim index 5dadb84a..d40d10c9 100644 --- a/deploy/Dockerfile-slim +++ b/deploy/Dockerfile-slim @@ -1,17 +1,17 @@ -ARG NODEJS_IMAGE=node:20.17-alpine3.19 +ARG NODEJS_IMAGE=node:20.18.1-alpine3.19 ARG ALPINE_IMAGE=alpine:3.19 # # # # Cron build # -FROM --platform=${BUILDPLATFORM:-linux/amd64} $ALPINE_IMAGE as cron +FROM --platform=${BUILDPLATFORM:-linux/amd64} $ALPINE_IMAGE AS cron RUN apk add --update --no-cache ca-certificates curl \ && rm -rf /tmp/* /var/cache/apk/* -ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.29/supercronic-linux-amd64 +ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.33/supercronic-linux-amd64 ENV SUPERCRONIC=supercronic-linux-amd64 -ENV SUPERCRONIC_SHA1SUM=cd48d45c4b10f3f0bfdd3a57d054cd05ac96812b +ENV SUPERCRONIC_SHA1SUM=71b0d58cc53f6bd72cf2f293e09e294b79c666d8 RUN curl -fsSLO "$SUPERCRONIC_URL" \ && echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \ && chmod +x "$SUPERCRONIC" \ @@ -22,7 +22,7 @@ COPY deploy/crontab /crontab # # # # Node build # -FROM --platform=${BUILDPLATFORM:-linux/amd64} $NODEJS_IMAGE as node +FROM --platform=${BUILDPLATFORM:-linux/amd64} $NODEJS_IMAGE AS node #python RUN apk add --no-cache --virtual .gyp \ @@ -39,7 +39,7 @@ ADD . /src RUN npm run build -FROM --platform=${BUILDPLATFORM:-linux/amd64} node as curl-builder +FROM --platform=${BUILDPLATFORM:-linux/amd64} node AS curl-builder WORKDIR /app