From 084147d983c2d11dc8008df9db9320dce0568c2b Mon Sep 17 00:00:00 2001 From: Shengqi Chen Date: Tue, 16 Sep 2025 15:01:06 +0800 Subject: [PATCH] dockerfiles: skip cache on crates.io new release, update shadowmire to use python 3.13 Signed-off-by: Shengqi Chen --- dockerfiles/rustup-mirror/Dockerfile | 2 ++ dockerfiles/shadowmire/Dockerfile | 2 +- dockerfiles/tsumugu/Dockerfile | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dockerfiles/rustup-mirror/Dockerfile b/dockerfiles/rustup-mirror/Dockerfile index 188f17f..121acf9 100644 --- a/dockerfiles/rustup-mirror/Dockerfile +++ b/dockerfiles/rustup-mirror/Dockerfile @@ -1,5 +1,7 @@ FROM rust:trixie LABEL maintainer="Jiajie Chen " +# used to skip caching on new version release +ADD "https://crates.io/api/v1/crates/rustup-mirror" "crates_version.json" RUN cargo install rustup-mirror CMD ["/bin/bash"] diff --git a/dockerfiles/shadowmire/Dockerfile b/dockerfiles/shadowmire/Dockerfile index d25a6ed..5cd222e 100644 --- a/dockerfiles/shadowmire/Dockerfile +++ b/dockerfiles/shadowmire/Dockerfile @@ -1,4 +1,4 @@ -ARG PY_VERSION=3.11 +ARG PY_VERSION=3.13 FROM python:${PY_VERSION}-alpine diff --git a/dockerfiles/tsumugu/Dockerfile b/dockerfiles/tsumugu/Dockerfile index 540c837..7f552d4 100644 --- a/dockerfiles/tsumugu/Dockerfile +++ b/dockerfiles/tsumugu/Dockerfile @@ -1,5 +1,7 @@ FROM rust:trixie LABEL maintainer="Shengqi Chen " +# used to skip caching on new version release +ADD "https://crates.io/api/v1/crates/tsumugu" "crates_version.json" RUN cargo install tsumugu CMD ["/bin/bash"]