Invidious is an alternative front-end to YouTube
Use Crystal compiler cache in docker builds
syeopitee2df12b7d666
diff --git a/docker/Dockerfile b/docker/Dockerfileindex 900c9e74..a07bef28 100644--- a/docker/Dockerfile+++ b/docker/Dockerfile@@ -21,7 +21,7 @@ COPY ./videojs-dependencies.yml ./videojs-dependencies.ymlRUN crystal spec --warnings all \--link-flags "-lxml2 -llzma"-RUN if [[ "${release}" == 1 ]] ; then \+RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ; then \crystal build ./src/invidious.cr \--release \--static --warnings all \diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64index ce9bab08..7fcb176e 100644--- a/docker/Dockerfile.arm64+++ b/docker/Dockerfile.arm64@@ -22,7 +22,7 @@ COPY ./videojs-dependencies.yml ./videojs-dependencies.ymlRUN crystal spec --warnings all \--link-flags "-lxml2 -llzma"-RUN if [[ "${release}" == 1 ]] ; then \+RUN --mount=type=cache,target=/root/.cache/crystal if [[ "${release}" == 1 ]] ; then \crystal build ./src/invidious.cr \--release \--static --warnings all \