Don't error on warnings

This commit is contained in:
Sandro Jäckel 2020-06-16 11:16:05 +02:00
parent ad859fa2b3
commit 3c2d5a4000
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -14,7 +14,7 @@ COPY ./src/ ./src/
# See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION.
COPY ./.git/ ./.git/
RUN crystal build ./src/invidious.cr \
--static --warnings all --error-on-warnings \
--static --warnings all \
--link-flags "-lxml2 -llzma"
FROM alpine:latest