Skip to content

Commit

Permalink
tag update
Browse files Browse the repository at this point in the history
  • Loading branch information
daviehh committed Sep 27, 2024
1 parent 70dbaea commit 6c89fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rust:1-slim-bookworm AS builder

RUN apt-get update -y && apt-get install -y build-essential protobuf-compiler curl jq && \
echo -n "$(curl -s 'https://api.github.com/repos/ankitects/anki/tags' | jq -r '.[0].name')" > /etc/ankitag && \
COPY version /etc/ankitag
RUN apt-get update -y && apt-get install -y build-essential protobuf-compiler && \
echo "> compile: anki tag [$(cat /etc/ankitag)]" && \
cargo install --git https://github.com/ankitects/anki.git \
--tag $(cat /etc/ankitag) \
Expand Down

0 comments on commit 6c89fda

Please sign in to comment.