Skip to content

Commit

Permalink
updated node, supercronic (#1687)
Browse files Browse the repository at this point in the history
* updated node, supercronic

* updated checksum
  • Loading branch information
deepakprabhakara authored Nov 25, 2024
1 parent 8307b69 commit d3b2490
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy/Dockerfile-slim
Original file line number Diff line number Diff line change
@@ -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" \
Expand All @@ -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 \
Expand All @@ -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

Expand Down

0 comments on commit d3b2490

Please sign in to comment.