use docker registry mirror to prevent rate limits
Some checks failed
Invidious CI / build (push) Failing after 18s

This commit is contained in:
Fijxu 2024-12-14 16:51:59 -03:00
parent a63300e284
commit dfc20cdba3
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -1,4 +1,4 @@
FROM crystallang/crystal:1.14.0-alpine AS builder
FROM mirror.gcr.io/crystallang/crystal:1.14.0-alpine AS builder
RUN apk add --no-cache sqlite-static yaml-static
@ -32,7 +32,7 @@ RUN if [[ "${release}" == 1 ]] ; then \
--link-flags "-lxml2 -llzma"; \
fi
FROM alpine:3.20
FROM mirror.gcr.io/alpine/alpine:3.20
RUN apk add --no-cache rsvg-convert ttf-opensans tini tzdata
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \