Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated node, supercronic #1687

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading