diff --git a/docker/Dockerfile b/docker/Dockerfile index 31760d71..96f844fe 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM crystallang/crystal:0.35.0-alpine AS builder +FROM crystallang/crystal:0.35.1-alpine AS builder RUN apk add --no-cache curl sqlite-static WORKDIR /invidious COPY ./shard.yml ./shard.yml @@ -8,7 +8,7 @@ RUN shards update && shards install && \ # https://github.com/omarroth/lsquic-alpine/blob/master/APKBUILD, # https://github.com/omarroth/lsquic.cr/issues/1#issuecomment-631610081 # for details building static lib - curl -Lo ./lib/lsquic/src/lsquic/ext/liblsquic.a https://omar.yt/lsquic/liblsquic.a + curl -Lo ./lib/lsquic/src/lsquic/ext/liblsquic.a https://omar.yt/lsquic/liblsquic-v2.18.1.a COPY ./src/ ./src/ # TODO: .git folder is required for building – this is destructive. # See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION. diff --git a/shard.yml b/shard.yml index 2a8836d6..952020fb 100644 --- a/shard.yml +++ b/shard.yml @@ -17,7 +17,7 @@ dependencies: version: ~> 0.16.0 kemal: github: kemalcr/kemal - branch: master + commit: dfe7dca08f4c9a9456d6132af5f6b59fcd6865e4 pool: github: ysbaddaden/pool version: ~> 0.2.3