Remove --release from dockerfile

This commit is contained in:
Omar Roth 2019-12-05 14:49:44 -05:00
parent 3d87bdb6b4
commit 28669d940a
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -19,7 +19,7 @@ COPY ./src/ ./src/
# See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION.
COPY ./.git/ ./.git/
RUN crystal build ./src/invidious.cr \
--release --static --warnings all --error-on-warnings \
--static --warnings all --error-on-warnings \
# TODO: Remove next line, see https://github.com/crystal-lang/crystal/issues/7946
-Dmusl \
--link-flags "-lxml2 -llzma"