Skip to content

Commit

Permalink
0.19.6 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ubergeek77 authored Nov 15, 2024
1 parent 1950fe6 commit 30a071a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile-backend
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 30a071a

Please sign in to comment.