From 71ec6a5f778ea7ab1da64a90f39e18ebde6ccd9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milien=20Devos?= Date: Tue, 19 Jul 2022 09:07:05 +0200 Subject: [PATCH] Use alpine 3.16 for crystal 1.4.1 --- Dockerfile.new | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.new b/Dockerfile.new index 0ec83c7..5d1abc9 100644 --- a/Dockerfile.new +++ b/Dockerfile.new @@ -1,5 +1,5 @@ -FROM alpine:edge AS builder -RUN apk add --no-cache 'crystal=1.4.1-r1' shards sqlite-static yaml-static yaml-dev libxml2-dev zlib-static openssl-libs-static openssl-dev musl-dev yq +FROM alpine:3.16 AS builder +RUN apk add --no-cache 'crystal=1.4.1-r0' shards sqlite-static yaml-static yaml-dev libxml2-dev zlib-static openssl-libs-static openssl-dev musl-dev yq ARG add_build_args @@ -28,7 +28,7 @@ RUN crystal build ./src/invidious.cr ${add_build_args} \ #RUN shards build --release --static sentry_crash_handler -FROM alpine:edge +FROM alpine:3.16 RUN apk add --no-cache librsvg ttf-opensans WORKDIR /invidious RUN addgroup -g 1000 -S invidious && \