Remove --release from dockerfile

pull/925/head
Omar Roth 5 years ago
parent 3d87bdb6b4
commit 28669d940a
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -19,7 +19,7 @@ COPY ./src/ ./src/
# 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 build ./src/invidious.cr \ 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 # TODO: Remove next line, see https://github.com/crystal-lang/crystal/issues/7946
-Dmusl \ -Dmusl \
--link-flags "-lxml2 -llzma" --link-flags "-lxml2 -llzma"

Loading…
Cancel
Save