From 3c8261545d6150717b2cd955bd5a2fb5d63f4d5a Mon Sep 17 00:00:00 2001 From: Jonas Alfredsson Date: Tue, 13 Aug 2024 16:53:13 +0200 Subject: [PATCH] Update Dockerfile --- src/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index 3941e42..795b24a 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -59,9 +59,9 @@ RUN \ # For some reason the rustup script is unable to correctly identify the # environment if we are building an i386 image on an x86_64 system, so we need # to provide this information manually. - $(if [ "$TARGETPLATFORM" = "linux/386" ]; then echo "--default-host i686-unknown-linux-gnu"; fi); \ + $(if [ "$TARGETPLATFORM" = "linux/386" ]; then echo "--default-host i686-unknown-linux-gnu"; fi) && \ + . "$HOME/.cargo/env"; \ fi && \ - . "$HOME/.cargo/env" && \ # Install certbot. pip3 install -r /requirements.txt && \ # And the supported extra authenticators.