Skip to content

fix: Bump rust builder and base image for syncserver#5036

Open
RedPine404 wants to merge 1 commit into
ankitects:mainfrom
RedPine404:bump-docker-rust-version
Open

fix: Bump rust builder and base image for syncserver#5036
RedPine404 wants to merge 1 commit into
ankitects:mainfrom
RedPine404:bump-docker-rust-version

Conversation

@RedPine404

Copy link
Copy Markdown

Linked issue (required)

Fixes #5035

Summary / motivation (required)

Rust builder is outdated an no longer builds the syncserver successfully.

Bumping the version to match rust-toolchain.toml version 1.92.0 fixes this issue.

I also bumped the base image to alpine:3.23 as alpine:3.21.0 is over a year old.

Steps to reproduce (required, use N/A if not applicable)

docker buildx build -f --no-cache --build-arg ANKI_VERSION= -t anki-sync-server .

How to test (required)

docker buildx build -f --no-cache --build-arg ANKI_VERSION= -t anki-sync-server .

Checklist (minimum)

  • I ran docker buildx build -f Dockerfile --no-cache --build-arg ANKI_VERSION=26.05 -t anki-sync-server .
  • I ran docker buildx build -f Dockerfile.distroless --no-cache --build-arg ANKI_VERSION=26.05 -t anki-sync-server .

Details

Docker image compiled as expected following the updated versions.

Scope

  • This PR is focused addressing the syncserver docker image.

@RedPine404 RedPine404 changed the title fix: Bump rust builder and base image fix: Bump rust builder and base image for syncserver Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Syncserver docker build fails on rust:1.85.0

1 participant