docker images with --release for more stability

fixes #1652
pull/2366/head
Emilien Devos 3 years ago
parent 4fcd0964cd
commit 891116f13b

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

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

Loading…
Cancel
Save