bump crystal docker image version +

use alpine:edge docker image in order to use crystal 1.1.1
This commit is contained in:
Emilien Devos 2021-08-12 23:33:28 +02:00
parent 0aae728e33
commit f2b69fd812
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ RUN mkdir tmp && cd tmp && \
cd .. && rm -rf 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 RUN apk add --no-cache sqlite-static yaml-static
WORKDIR /invidious WORKDIR /invidious

View File

@ -1,4 +1,4 @@
FROM alpine:3.14 AS liblsquic-builder FROM alpine:edge AS liblsquic-builder
WORKDIR /src WORKDIR /src
RUN apk add --no-cache build-base git apk-tools abuild cmake go perl linux-headers 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 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 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 WORKDIR /invidious