mirror of
https://github.com/iv-org/invidious.git
synced 2025-12-23 21:20:12 +00:00
chore: update crystal 1.18.2 + alpine 3.23 (#5574)
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -38,11 +38,11 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
stable: [true]
|
stable: [true]
|
||||||
crystal:
|
crystal:
|
||||||
- 1.12.2
|
|
||||||
- 1.13.3
|
|
||||||
- 1.14.1
|
- 1.14.1
|
||||||
- 1.15.1
|
- 1.15.1
|
||||||
- 1.16.3
|
- 1.16.3
|
||||||
|
- 1.17.1
|
||||||
|
- 1.18.2
|
||||||
include:
|
include:
|
||||||
- crystal: nightly
|
- crystal: nightly
|
||||||
stable: false
|
stable: false
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
ARG OPENSSL_VERSION='3.5.2'
|
ARG OPENSSL_VERSION='3.5.2'
|
||||||
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
|
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
|
||||||
|
|
||||||
FROM crystallang/crystal:1.16.3-alpine AS dependabot-crystal
|
FROM crystallang/crystal:1.18.2-alpine AS dependabot-crystal
|
||||||
|
|
||||||
# We compile openssl ourselves due to a memory leak in how crystal interacts
|
# We compile openssl ourselves due to a memory leak in how crystal interacts
|
||||||
# with openssl
|
# with openssl
|
||||||
@@ -61,7 +61,7 @@ RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ;
|
|||||||
--link-flags "-lxml2 -llzma"; \
|
--link-flags "-lxml2 -llzma"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FROM alpine:3.21
|
FROM alpine:3.23
|
||||||
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
|
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
|
||||||
WORKDIR /invidious
|
WORKDIR /invidious
|
||||||
RUN addgroup -g 1000 -S invidious && \
|
RUN addgroup -g 1000 -S invidious && \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
ARG OPENSSL_VERSION='3.5.2'
|
ARG OPENSSL_VERSION='3.5.2'
|
||||||
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
|
ARG OPENSSL_SHA256='c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec'
|
||||||
|
|
||||||
FROM alpine:3.21 AS dependabot-alpine
|
FROM alpine:3.23 AS dependabot-alpine
|
||||||
|
|
||||||
# We compile openssl ourselves due to a memory leak in how crystal interacts
|
# We compile openssl ourselves due to a memory leak in how crystal interacts
|
||||||
# with openssl
|
# with openssl
|
||||||
@@ -21,8 +21,11 @@ RUN tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
|
|||||||
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
|
RUN cd openssl-${OPENSSL_VERSION} && ./Configure --openssldir=/etc/ssl && make -j$(nproc)
|
||||||
|
|
||||||
FROM dependabot-alpine AS builder
|
FROM dependabot-alpine AS builder
|
||||||
RUN apk add --no-cache 'crystal=1.14.0-r0' shards sqlite-static yaml-static yaml-dev libxml2-static \
|
RUN apk add --no-cache 'crystal=1.18.2-r0' shards \
|
||||||
zlib-static musl-dev xz-static
|
sqlite-static yaml-static yaml-dev \
|
||||||
|
pcre2-static gc-static \
|
||||||
|
libxml2-static zlib-static \
|
||||||
|
openssl-libs-static openssl-dev musl-dev xz-static
|
||||||
|
|
||||||
ARG release
|
ARG release
|
||||||
|
|
||||||
@@ -60,7 +63,7 @@ RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ;
|
|||||||
--link-flags "-lxml2 -llzma"; \
|
--link-flags "-lxml2 -llzma"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FROM alpine:3.21
|
FROM alpine:3.23
|
||||||
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
|
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
|
||||||
WORKDIR /invidious
|
WORKDIR /invidious
|
||||||
RUN addgroup -g 1000 -S invidious && \
|
RUN addgroup -g 1000 -S invidious && \
|
||||||
|
|||||||
Reference in New Issue
Block a user