docker images with --release for more stability

fixes #1652
This commit is contained in:
Emilien Devos 2021-08-31 21:24:54 +02:00
parent 4fcd0964cd
commit 891116f13b
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma" --link-flags "-lxml2 -llzma"
RUN crystal build ./src/invidious.cr \ RUN crystal build ./src/invidious.cr \
--release \
--static --warnings all \ --static --warnings all \
--link-flags "-lxml2 -llzma" --link-flags "-lxml2 -llzma"

View File

@ -17,6 +17,7 @@ RUN crystal spec --warnings all \
--link-flags "-lxml2 -llzma" --link-flags "-lxml2 -llzma"
RUN crystal build ./src/invidious.cr \ RUN crystal build ./src/invidious.cr \
--release \
--static --warnings all \ --static --warnings all \
--link-flags "-lxml2 -llzma" --link-flags "-lxml2 -llzma"