From 79859100a8bcf5e0de8febb1156fde89c71ffad1 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 26 Nov 2024 19:31:48 -0300 Subject: [PATCH] dockerfile: use x86-64-v2 instead to support more CPUs I used x86-64-v3 because my CPU supports it, but I doubt this is going to make Invidious any faster of most of the operations. --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6627d0a3..a0443666 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,7 +23,7 @@ RUN crystal spec --warnings all \ --link-flags "-lxml2 -llzma" RUN if [[ "${release}" == 1 ]] ; then \ crystal build ./src/invidious.cr \ - --release --mcpu=x86-64-v3 \ + --release --mcpu=x86-64-v2 \ --static --warnings all \ --link-flags "-lxml2 -llzma"; \ else \