From f2b69fd8120c4e2d98ba95eb412c1d771b820b7b Mon Sep 17 00:00:00 2001 From: Emilien Devos Date: Thu, 12 Aug 2021 23:33:28 +0200 Subject: [PATCH] bump crystal docker image version + use alpine:edge docker image in order to use crystal 1.1.1 --- docker/Dockerfile | 2 +- docker/Dockerfile.arm64 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0b6c6ceb7..7742ee396 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -29,7 +29,7 @@ RUN mkdir tmp && cd tmp && \ cd .. && rm -rf tmp -FROM crystallang/crystal:1.0.0-alpine AS builder +FROM crystallang/crystal:1.1.1-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 54226b661..7929d67be 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -1,4 +1,4 @@ -FROM alpine:3.14 AS liblsquic-builder +FROM alpine:edge 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:3.14 AS builder +FROM alpine:edge 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