From 3035f0119fcdb78f627df7cdc304723a915694d9 Mon Sep 17 00:00:00 2001 From: Emilien Devos Date: Sat, 13 Mar 2021 22:14:27 +0100 Subject: [PATCH] Revert "Bump dependencies" This reverts commit abe283b38e7dcca46d0421af005594f574243a30. --- docker/Dockerfile | 3 ++- shard.lock | 2 +- shard.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 591c5aa1..b88a76c0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,8 @@ RUN apk add --no-cache curl sqlite-static WORKDIR /invidious COPY ./shard.yml ./shard.yml COPY ./shard.lock ./shard.lock -RUN shards install +RUN shards install && \ + curl -Lo ./lib/lsquic/src/lsquic/ext/liblsquic.a https://github.com/iv-org/lsquic-static-alpine/releases/download/v2.18.1/liblsquic.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.lock b/shard.lock index cc1929e8..a9074b32 100644 --- a/shard.lock +++ b/shard.lock @@ -18,7 +18,7 @@ shards: lsquic: git: https://github.com/iv-org/lsquic.cr.git - version: 2.23.1 + version: 2.18.1-1 pg: git: https://github.com/will/crystal-pg.git diff --git a/shard.yml b/shard.yml index 76dcf8b1..42eda04c 100644 --- a/shard.yml +++ b/shard.yml @@ -27,7 +27,7 @@ dependencies: version: ~> 0.1.3 lsquic: github: iv-org/lsquic.cr - version: ~> 2.23.1 + version: ~> 2.18.1-1 crystal: 0.36.1