Skip to content

Commit

Permalink
try alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
daviehh committed Oct 9, 2024
1 parent 1c48781 commit c66b59b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rust:alpine AS builder

COPY version /etc/ankitag
RUN apk update && apk add --no-cache build-base protobuf curl jq && \
echo -n "$(curl -s 'https://api.github.com/repos/ankitects/anki/tags' | jq -r '.[0].name')" > /etc/ankitag && \
echo "> compile: anki tag [$(cat /etc/ankitag)]" && \
cargo install --git https://github.com/ankitects/anki.git \
--tag $(cat /etc/ankitag) \
Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
[![status](https://github.com/daviehh/anki_sync_server/actions/workflows/publish.yml/badge.svg?branch=master)](https://github.com/daviehh/anki_sync_server/actions/workflows/publish.yml)

Personal Docker image for a self-hosted sync server[^1] for [Anki](https://github.com/ankitects/anki/).
Personal Docker image for a self-hosted sync server for [Anki](https://github.com/ankitects/anki/).

Auto-built with github actions.

`docker pull ghcr.io/daviehh/anki-sync-svr:latest`

---

tagged: 24.04.1rc1

[^1]: [src](https://github.com/ankitects/anki/blob/main/docs/syncserver/Dockerfile)
`docker pull ghcr.io/daviehh/anki-sync-svr:latest`
1 change: 1 addition & 0 deletions version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.10beta2

0 comments on commit c66b59b

Please sign in to comment.