This contains a dockerfile and CI/CD scripts to build a container image for Anki Sync Server using a scratch image as base image.
This image is not official. Use at your own risk.
This image is cross-compiled and thus available for
- linux/amd64
- linux/arm64
I sadly can not build for linux/arm/v7 (because of build errors) and for linux/riscv64 (because of missing rust container support).
- The container is auto-updated every Monday whenever a new version of anki is released. This is done by a GitHub Action and happens without any manual intervention or review.
- The actions are also auto-updated through dependabot.
- The image which is used to build is always the latest version of Debian Linux.
Result: The container is always up-to-date (at least after every Monday) and I can forget this project exists :).
You can find this image on GitHub Container Registry (recommended) and on Docker Hub for redundancy.
There are four tags available:
latest
: Always the latest version of anki.<anki-version>
: The version specified of anki.<time-of-build>
: The exact time (+ date) when the container was built (using (date
syntax): %Y-%m-%dt%H-%M-%Sz).
- See SETUP.md for detailed instructions.
- Contributions for newer versions or files are gracefully accepted. Even things like small speed improvements are helpfull.
- Most files are licensed under Apache-2.0. Exeptions:
- the anki logo (anki-sync-server/imgs/ah-logo):
LICENSE-ANKI-LOGO
- the anki logo (anki-sync-server/imgs/ah-logo):