|
|
@ -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
|
|
|
|
RUN apk add --no-cache curl sqlite-static
|
|
|
|
WORKDIR /invidious
|
|
|
|
WORKDIR /invidious
|
|
|
|
COPY ./shard.yml ./shard.yml
|
|
|
|
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-alpine/blob/master/APKBUILD,
|
|
|
|
# https://github.com/omarroth/lsquic.cr/issues/1#issuecomment-631610081
|
|
|
|
# https://github.com/omarroth/lsquic.cr/issues/1#issuecomment-631610081
|
|
|
|
# for details building static lib
|
|
|
|
# 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/
|
|
|
|
COPY ./src/ ./src/
|
|
|
|
# TODO: .git folder is required for building – this is destructive.
|
|
|
|
# TODO: .git folder is required for building – this is destructive.
|
|
|
|
# See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION.
|
|
|
|
# See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION.
|
|
|
|