mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Fix cargo ignoring lockfile when building syncserver image (#3856)
* pass --locked to cargo invocation * update Dockerfile.distroless as well Co-authored-by: Simon <8466614+SimonBaars@users.noreply.github.com> --------- Co-authored-by: Simon <8466614+SimonBaars@users.noreply.github.com>
This commit is contained in:
parent
d0ed54a768
commit
d809ee92db
2 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ RUN apk update && apk add --no-cache build-base protobuf && rm -rf /var/cache/ap
|
|||
RUN cargo install --git https://github.com/ankitects/anki.git \
|
||||
--tag ${ANKI_VERSION} \
|
||||
--root /anki-server \
|
||||
--locked \
|
||||
anki-sync-server
|
||||
|
||||
FROM alpine:3.21.0
|
||||
|
|
|
@ -7,6 +7,7 @@ RUN apt-get update && apt-get install -y build-essential protobuf-compiler && ap
|
|||
RUN cargo install --git https://github.com/ankitects/anki.git \
|
||||
--tag ${ANKI_VERSION} \
|
||||
--root /anki-server \
|
||||
--locked \
|
||||
anki-sync-server
|
||||
|
||||
FROM gcr.io/distroless/cc-debian12
|
||||
|
|
Loading…
Reference in a new issue