Michel Hagenah hagenahm
  • Joined on 2024-04-02

anki-sync-docker (nightly)

Published 2026-07-08 02:00:57 +02:00 by hagenahm

Installation

docker pull gitea.hagenahm.de/hagenahm/anki-sync-docker:nightly
sha256:76a911126c567b99656011c2d5dd357c4d67c79796727b2ac02d126f8e7c6390

Images

Digest OS / Arch Size
ee3035c68f linux/amd64 555 MiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=22.04
ADD file:c5143b228eb55f19ed4d3b653ad68ec7afe54ded0247e090ce3afb9e5484adfb in /
CMD ["/bin/bash"]
LABEL description=Docker container for the official anki sync server
LABEL org.opencontainers.image.authors=dev@hagenahm.de
ARG PROTOBUF_VERSION=34.0
RUN |1 PROTOBUF_VERSION=34.0 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl build-essential unzip && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 PROTOBUF_VERSION=34.0 /bin/sh -c curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOBUF_VERSION}/protoc-${PROTOBUF_VERSION}-linux-x86_64.zip && unzip protoc-${PROTOBUF_VERSION}-linux-x86_64.zip -d /protoc && rm protoc-${PROTOBUF_VERSION}-linux-x86_64.zip # buildkit
ENV PATH=/protoc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |1 PROTOBUF_VERSION=34.0 /bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.92.0 # buildkit
ENV PATH=/root/.cargo/bin:/protoc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |1 PROTOBUF_VERSION=34.0 /bin/sh -c cargo install --locked --git https://github.com/ankitects/anki.git --tag 25.09.2 anki-sync-server && rustup toolchain remove stable # buildkit
RUN |1 PROTOBUF_VERSION=34.0 /bin/sh -c apt-get remove -y curl build-essential unzip && apt-get autoremove -y && rm -rf ~/.cargo/registry && rm -rf /var/lib/apt/lists/* # buildkit
ENV SYNC_BASE=/anki-data
EXPOSE [8080/tcp]
CMD ["anki-sync-server"]

Labels

Key Value
description Docker container for the official anki sync server
org.opencontainers.image.authors dev@hagenahm.de
org.opencontainers.image.created 2026-07-08T00:00:52.272Z
org.opencontainers.image.description Docker image for the anki sync selfhosted service
org.opencontainers.image.licenses
org.opencontainers.image.revision e1bbe2070123ec7a72673b452ee2cf4027b550ac
org.opencontainers.image.source https://gitea.hagenahm.de/hagenahm/anki-sync-docker
org.opencontainers.image.title anki-sync-docker
org.opencontainers.image.url https://gitea.hagenahm.de/hagenahm/anki-sync-docker
org.opencontainers.image.version nightly
Details
Container
2026-07-08 02:00:57 +02:00
222
OCI / Docker
Versions (4) View all
nightly 2026-07-08
main 2026-07-08
buildcache 2026-07-04
latest 2024-05-20