diff options
| author | Émilien (perso) <4016501+unixfox@users.noreply.github.com> | 2023-08-04 17:44:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-04 17:44:49 +0200 |
| commit | 701f03d5e88a8f3c92575965e39b8f96b59f71f9 (patch) | |
| tree | 6c36a67753e66d60640ee677395e9408504472db /docker/Dockerfile.arm64 | |
| parent | d956b1826e15da6cfcd9a1531b0f1e6ef577dd10 (diff) | |
| parent | a8ba02051b261a634050ea7f621451d84ca61607 (diff) | |
| download | invidious-701f03d5e88a8f3c92575965e39b8f96b59f71f9.tar.gz invidious-701f03d5e88a8f3c92575965e39b8f96b59f71f9.tar.bz2 invidious-701f03d5e88a8f3c92575965e39b8f96b59f71f9.zip | |
Merge pull request #4008 from syeopite/remove_lsquic
Diffstat (limited to 'docker/Dockerfile.arm64')
| -rw-r--r-- | docker/Dockerfile.arm64 | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 10135efb..cf9231fb 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -2,15 +2,12 @@ FROM alpine:3.16 AS builder RUN apk add --no-cache 'crystal=1.4.1-r0' shards sqlite-static yaml-static yaml-dev libxml2-dev zlib-static openssl-libs-static openssl-dev musl-dev ARG release -ARG disable_quic WORKDIR /invidious COPY ./shard.yml ./shard.yml COPY ./shard.lock ./shard.lock RUN shards install --production -COPY --from=quay.io/invidious/lsquic-compiled /root/liblsquic.a ./lib/lsquic/src/lsquic/ext/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. @@ -24,13 +21,7 @@ COPY ./videojs-dependencies.yml ./videojs-dependencies.yml RUN crystal spec --warnings all \ --link-flags "-lxml2 -llzma" -RUN if [[ "${release}" == 1 && "${disable_quic}" == 1 ]] ; then \ - crystal build ./src/invidious.cr \ - --release \ - -Ddisable_quic \ - --static --warnings all \ - --link-flags "-lxml2 -llzma"; \ - elif [[ "${release}" == 1 ]] ; then \ +RUN if [[ "${release}" == 1 ]] ; then \ crystal build ./src/invidious.cr \ --release \ --static --warnings all \ |
