From 891116f13bc3afc702c85535cbf252fab6bdfc7f Mon Sep 17 00:00:00 2001 From: Emilien Devos Date: Tue, 31 Aug 2021 21:24:54 +0200 Subject: [PATCH] docker images with --release for more stability fixes #1652 --- docker/Dockerfile | 1 + docker/Dockerfile.arm64 | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index d3d69af6..2caa9abe 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,6 +17,7 @@ RUN crystal spec --warnings all \ --link-flags "-lxml2 -llzma" RUN crystal build ./src/invidious.cr \ + --release \ --static --warnings all \ --link-flags "-lxml2 -llzma" diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 84084a06..fc82c6df 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -17,6 +17,7 @@ RUN crystal spec --warnings all \ --link-flags "-lxml2 -llzma" RUN crystal build ./src/invidious.cr \ + --release \ --static --warnings all \ --link-flags "-lxml2 -llzma"