diff --git a/docker/Dockerfile b/docker/Dockerfile index ff96d623b..b4bbfc92a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,11 +1,11 @@ # https://github.com/openssl/openssl/releases/tag/openssl-3.5.2 ARG OPENSSL_VERSION='3.5.2' +FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal + # We compile openssl ourselves due to a memory leak in how crystal interacts # with openssl # Reference: https://github.com/iv-org/invidious/issues/1438#issuecomment-3087636228 -FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal - FROM dependabot-crystal AS openssl-builder RUN apk add --no-cache curl perl linux-headers diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 8a56de107..536dacc77 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -1,11 +1,11 @@ # https://github.com/openssl/openssl/releases/tag/openssl-3.5.2 ARG OPENSSL_VERSION='3.5.2' +FROM alpine:3.21 AS dependabot-alpine + # We compile openssl ourselves due to a memory leak in how crystal interacts # with openssl # Reference: https://github.com/iv-org/invidious/issues/1438#issuecomment-3087636228 -FROM alpine:3.21 AS dependabot-alpine - FROM dependabot-alpine AS openssl-builder RUN apk add --no-cache curl perl linux-headers build-base