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