Merge pull request #1889 from unixfox/fix-memory-invalid

Revert "Bump dependencies"
This commit is contained in:
TheFrenchGhosty 2021-03-13 21:34:49 +00:00 committed by GitHub
commit 502e8daedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -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.

View File

@ -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

View File

@ -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