dont force static builds

This commit is contained in:
Maple Nebel 2026-05-29 08:00:01 +02:00
commit 3f2adf0c65
4 changed files with 22 additions and 4 deletions

View file

@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
COPY . .
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/app/target \
./test-edition.sh && ./build-edition.sh && \
RNEX_STATIC=1 ./test-edition.sh && RNEX_STATIC=1 ./build-edition.sh && \
mkdir -p /app/dist && \
cp /app/target/x86_64-unknown-linux-musl/release/edge_node_holder_server /app/dist/ && \
cp /app/target/x86_64-unknown-linux-musl/release/proxy_insecure /app/dist/ && \
@ -54,4 +54,4 @@ ENTRYPOINT ["/backend_server_secure"]
FROM chef AS dev-container
RUN apk add --no-cache openjdk21-jdk gcompat git bash protobuf-dev
COPY --from=builder /app/dist/* /usr/local/bin/
COPY --from=builder /app/dist/* /usr/local/bin/