mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
parent
ec30f7c5d4
commit
3035f0119f
3 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue