From 936e10bd76737a815c4764f67d67ac60d6cc418f Mon Sep 17 00:00:00 2001 From: Niclas Heinz Date: Sat, 4 Jan 2025 15:58:54 +0100 Subject: [PATCH] update docker deps and docker docs (#3671) * docs(docker): Change suggested version numbre * deps(docker): Bump rust to 1.83.0 and alpine to 3.21.0 * deps(docker): Bump rust to 1.83.0 * CONTRIBUTORS: Add my name --- CONTRIBUTORS | 1 + docs/syncserver/Dockerfile | 4 ++-- docs/syncserver/Dockerfile.distroless | 2 +- docs/syncserver/README.md | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 86af3cd7e..7ab875ba7 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -203,6 +203,7 @@ hideo aoyama Ross Brown 🦙 Lukas Sommer +Niclas Heinz Omar Kohl ******************** diff --git a/docs/syncserver/Dockerfile b/docs/syncserver/Dockerfile index b313148e9..c436e50e9 100644 --- a/docs/syncserver/Dockerfile +++ b/docs/syncserver/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.82.0-alpine3.20 AS builder +FROM rust:1.83.0-alpine3.20 AS builder ARG ANKI_VERSION @@ -9,7 +9,7 @@ RUN cargo install --git https://github.com/ankitects/anki.git \ --root /anki-server \ anki-sync-server -FROM alpine:3.20.2 +FROM alpine:3.21.0 ARG SYNC_PORT=8080 diff --git a/docs/syncserver/Dockerfile.distroless b/docs/syncserver/Dockerfile.distroless index 0f19fa610..a66c4b2d0 100644 --- a/docs/syncserver/Dockerfile.distroless +++ b/docs/syncserver/Dockerfile.distroless @@ -1,4 +1,4 @@ -FROM rust:1.82.0 AS builder +FROM rust:1.83.0 AS builder ARG ANKI_VERSION diff --git a/docs/syncserver/README.md b/docs/syncserver/README.md index ccb7815d1..45929d460 100644 --- a/docs/syncserver/README.md +++ b/docs/syncserver/README.md @@ -25,7 +25,7 @@ the build products and runtime dependencies from the rest of your system. # Building image -To proceed with building, you must specify the Anki version you want, by replacing `` with something like `23.12.1` and `` with the chosen Dockerfile (e.g., `Dockerfile` or `Dockerfile.distroless`) +To proceed with building, you must specify the Anki version you want, by replacing `` with something like `24.11` and `` with the chosen Dockerfile (e.g., `Dockerfile` or `Dockerfile.distroless`) ```bash # Execute this command from the root directory of your project