mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
chore(deps): upgrade all dependencies, toolchains and images (#2825)
This commit is contained in:
@@ -8,18 +8,18 @@ publish = false
|
||||
[dependencies]
|
||||
anyhow = "1.0.104"
|
||||
axum = { version = "0.8.9", features = ["macros"] }
|
||||
base64 = "0.22"
|
||||
base64 = "0.23"
|
||||
fluxer_common = { path = "../fluxer_common" }
|
||||
futures-util = { version = "0.3.32", default-features = false, features = ["std"] }
|
||||
futures-util = { version = "0.3.34", default-features = false, features = ["std"] }
|
||||
hex = "0.4"
|
||||
rand = "0.10"
|
||||
reqwest = { version = "0.13.4", default-features = false, features = ["json", "rustls", "stream", "gzip", "brotli", "deflate"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = "1.0.150"
|
||||
tokio = { version = "1.52.3", features = ["macros", "net", "rt-multi-thread", "signal", "time", "fs"] }
|
||||
tokio-util = { version = "0.7.18", features = ["io"] }
|
||||
reqwest = { version = "0.13.5", default-features = false, features = ["json", "rustls", "stream", "gzip", "brotli", "deflate"] }
|
||||
serde = { version = "1.0.229", features = ["derive"] }
|
||||
serde_json = "1.0.151"
|
||||
tokio = { version = "1.53.1", features = ["macros", "net", "rt-multi-thread", "signal", "time", "fs"] }
|
||||
tokio-util = { version = "0.7.19", features = ["io"] }
|
||||
tower = { version = "0.5.3", features = ["util"] }
|
||||
tower-http = { version = "0.6.11", features = ["compression-gzip", "trace"] }
|
||||
tower-http = { version = "0.7.1", features = ["compression-gzip", "trace"] }
|
||||
tracing = "0.1.44"
|
||||
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|
||||
|
||||
|
||||
@@ -8,20 +8,20 @@ ARG APP_ASSETS_REF=app-assets
|
||||
ARG APP_ASSETS_PLATFORM=$BUILDPLATFORM
|
||||
|
||||
# ---------- Stage 1: Build the SPA (fluxer_app) ----------
|
||||
FROM node:24-bookworm-slim AS app-build
|
||||
FROM node:26-trixie-slim AS app-build
|
||||
|
||||
ARG BUILD_VERSION
|
||||
ARG PUBLIC_ASSET_BASE_URL
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN corepack enable && corepack prepare [email protected] --activate
|
||||
RUN npm install -g [email protected]
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl ca-certificates build-essential clang \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG RUST_VERSION=1.93.0
|
||||
ARG RUST_VERSION=1.98.1
|
||||
ENV RUSTUP_HOME=/usr/local/rustup \
|
||||
CARGO_HOME=/usr/local/cargo \
|
||||
PATH=/usr/local/cargo/bin:$PATH
|
||||
@@ -83,10 +83,10 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
|
||||
# ---------- Stage 2: The one canonical asset tree every architecture serves ----------
|
||||
# Stage for CI to extract the full dist (docker bake app-dist target)
|
||||
FROM alpine:3.21 AS app-dist
|
||||
FROM alpine:3.24 AS app-dist
|
||||
COPY --from=app-build /usr/src/app/fluxer_app/dist /dist
|
||||
|
||||
FROM alpine:3.21 AS app-assets
|
||||
FROM alpine:3.24 AS app-assets
|
||||
ARG BUNDLE_LOCAL_ASSETS=true
|
||||
ARG PUBLIC_ASSET_BASE_URL=""
|
||||
COPY fluxer_app_proxy/scripts/precompress_assets.sh /usr/local/bin/precompress_assets.sh
|
||||
@@ -109,7 +109,7 @@ RUN --mount=type=bind,from=app-dist,source=/dist,target=/dist \
|
||||
FROM --platform=${APP_ASSETS_PLATFORM} ${APP_ASSETS_REF} AS app-static
|
||||
|
||||
# ---------- Stage 3: Build the Rust proxy binary ----------
|
||||
FROM rust:1-bookworm AS rust-builder
|
||||
FROM rust:1-trixie AS rust-builder
|
||||
|
||||
ARG FLUXER_APP_PROXY_TIME_FREEZE_ENABLED="true"
|
||||
|
||||
@@ -146,7 +146,7 @@ RUN if [ "${FLUXER_APP_PROXY_TIME_FREEZE_ENABLED}" = "false" ]; then \
|
||||
&& cp target/release/fluxer_app_proxy /usr/local/bin/fluxer-app-proxy
|
||||
|
||||
# ---------- Stage 4: Runtime ----------
|
||||
FROM debian:bookworm-slim
|
||||
FROM debian:trixie-slim
|
||||
|
||||
ARG BUILD_VERSION=""
|
||||
ARG SOURCE_SHA=""
|
||||
|
||||
Reference in New Issue
Block a user