Skip to content

Commit

Permalink
rev
Browse files Browse the repository at this point in the history
  • Loading branch information
daviehh committed Apr 11, 2024
1 parent ec9c8aa commit 2947fcc
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,6 +1,6 @@
FROM rust:1-slim-bookworm AS builder

RUN apt-get update && apt-get install build-essential protobuf-compiler curl jq && \
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 && \
echo "> compile: anki tag [$(cat /etc/ankitag)]" && \
cargo install --git https://github.com/ankitects/anki.git \
Expand All @@ -21,7 +21,7 @@ RUN (addgroup --gid $GID ankigrp || true) && \

COPY --from=builder /anki-server/bin/anki-sync-server /usr/local/bin/anki-sync-server

RUN apt-get update && apt-get install bash && apt-get clean
RUN apt-get update -y && apt-get install -y bash && apt-get clean -y

USER anki

Expand Down

0 comments on commit 2947fcc

Please sign in to comment.