From 46f8b04e40e4991619d61660143f37b30a038b5b Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 12 Aug 2021 16:10:40 -0700 Subject: [PATCH] Revert "bump crystal docker image version +" This reverts commit f2b69fd8120c4e2d98ba95eb412c1d771b820b7b. Crystal 1.1.0 is not supported by Invidious due to upstream issue. See crystal-lang/crystal#10972 --- docker/Dockerfile | 2 +- docker/Dockerfile.arm64 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 7742ee39..0b6c6ceb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -29,7 +29,7 @@ RUN mkdir tmp && cd tmp && \ cd .. && rm -rf tmp -FROM crystallang/crystal:1.1.1-alpine AS builder +FROM crystallang/crystal:1.0.0-alpine AS builder RUN apk add --no-cache sqlite-static yaml-static WORKDIR /invidious diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 7929d67b..54226b66 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -1,4 +1,4 @@ -FROM alpine:edge AS liblsquic-builder +FROM alpine:3.14 AS liblsquic-builder WORKDIR /src RUN apk add --no-cache build-base git apk-tools abuild cmake go perl linux-headers @@ -29,7 +29,7 @@ RUN mkdir tmp && cd tmp && \ cd .. && rm -rf tmp -FROM alpine:edge AS builder +FROM alpine:3.14 AS builder RUN apk add --no-cache 'crystal<2' shards sqlite-static yaml-static yaml-dev libxml2-dev zlib-static openssl-libs-static openssl-dev musl-dev WORKDIR /invidious