mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-14 00:28:31 +00:00
Add specs check to dockerfiles
This commit is contained in:
parent
6cb88a82a4
commit
38a197990b
@ -43,6 +43,10 @@ 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.
|
||||||
COPY ./.git/ ./.git/
|
COPY ./.git/ ./.git/
|
||||||
|
|
||||||
|
RUN crystal spec --warnings all \
|
||||||
|
--link-flags "-lxml2 -llzma"
|
||||||
|
|
||||||
RUN crystal build ./src/invidious.cr \
|
RUN crystal build ./src/invidious.cr \
|
||||||
--static --warnings all \
|
--static --warnings all \
|
||||||
--link-flags "-lxml2 -llzma"
|
--link-flags "-lxml2 -llzma"
|
||||||
|
@ -43,6 +43,10 @@ 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.
|
||||||
COPY ./.git/ ./.git/
|
COPY ./.git/ ./.git/
|
||||||
|
|
||||||
|
RUN crystal spec --warnings all \
|
||||||
|
--link-flags "-lxml2 -llzma"
|
||||||
|
|
||||||
RUN crystal build ./src/invidious.cr \
|
RUN crystal build ./src/invidious.cr \
|
||||||
--static --warnings all \
|
--static --warnings all \
|
||||||
--link-flags "-lxml2 -llzma"
|
--link-flags "-lxml2 -llzma"
|
||||||
|
Loading…
Reference in New Issue
Block a user