ARG TAG=latest FROM 192.168.122.1:5000/sequoia-pgp/build-docker-image/rust-stable:$TAG AS build RUN cargo install --root=/usr --git https://gitlab.com/sequoia-pgp/sequoia-git.git sequoia-git FROM docker.io/debian:bookworm-slim COPY --from=build /usr/bin/sq-git /usr/bin/sq-git RUN apt update -y -qq && \ apt install -y -qq --no-install-recommends \ libsqlite3-0 libssl3 && \ apt clean && \ rm -fr /var/lib/lists/* /var/cache/* /usr/share/doc/* /usr/share/locale/* CMD ["/usr/bin/sq-git", "--help"]