From 30a071a315489ad28a1a0a3f96dd420b944f6f65 Mon Sep 17 00:00:00 2001 From: ubergeek77 Date: Thu, 14 Nov 2024 20:29:02 -0600 Subject: [PATCH] 0.19.6 changes --- Dockerfile-backend | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile-backend b/Dockerfile-backend index 7979dba..1eaedf4 100644 --- a/Dockerfile-backend +++ b/Dockerfile-backend @@ -1,5 +1,5 @@ -# syntax=docker/dockerfile:1.7 -ARG RUST_VERSION=1.80 +# syntax=docker/dockerfile:1.10 +ARG RUST_VERSION=1.81 ARG CARGO_BUILD_FEATURES=default ARG RUST_RELEASE_MODE=release @@ -30,6 +30,9 @@ RUN --mount=type=cache,target=/lemmy/target set -ex; \ mv target/"${RUST_RELEASE_MODE}"/lemmy_server ./lemmy_server; \ fi +# Note: The upstream images now use upx to compress the binary +# But to simplify cross-architecture deployment, this image does not do this + # Release build RUN --mount=type=cache,target=/lemmy/target set -ex; \ if [ "${RUST_RELEASE_MODE}" = "release" ]; then \