mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-10-26 02:09:07 +00:00
Bump rust to 1.90
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Cargo dependencies stage
|
# Cargo dependencies stage
|
||||||
FROM rust:1.75-slim as deps
|
FROM rust:1.90-slim AS deps
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ RUN cargo build --release && \
|
|||||||
rm -rf src target/release/deps/xray_admin* target/release/xray-admin*
|
rm -rf src target/release/deps/xray_admin* target/release/xray-admin*
|
||||||
|
|
||||||
# Build stage
|
# Build stage
|
||||||
FROM deps as builder
|
FROM deps AS builder
|
||||||
|
|
||||||
# Build arguments
|
# Build arguments
|
||||||
ARG GIT_COMMIT="development"
|
ARG GIT_COMMIT="development"
|
||||||
@@ -47,7 +47,7 @@ COPY static ./static
|
|||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# Runtime stage - minimal Debian image
|
# Runtime stage - minimal Debian image
|
||||||
FROM debian:bookworm-slim as runtime
|
FROM debian:bookworm-slim AS runtime
|
||||||
|
|
||||||
# Build arguments (needed for runtime stage)
|
# Build arguments (needed for runtime stage)
|
||||||
ARG GIT_COMMIT="development"
|
ARG GIT_COMMIT="development"
|
||||||
|
|||||||
Reference in New Issue
Block a user