File: Containerfile

package info (click to toggle)
rust-sequoia-git 0.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,580 kB
  • sloc: sh: 367; makefile: 32
file content (24 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARG TAG=latest
FROM jampot.sequoia-pgp.org/sequoia-pgp/build-docker-image/rust-stable:$TAG AS build

COPY . /build

WORKDIR /build

RUN cargo install --path .

FROM docker.io/debian:bookworm-slim
COPY --from=build /usr/local/cargo/bin/sq-git /usr/bin/sq-git

RUN apt update -y -qq && \
    apt install -y -qq --no-install-recommends \
        ca-certificates \
        libsqlite3-0 \
	libssl3 \
	git && \
    apt clean && \
    rm -fr /var/lib/lists/* /var/cache/* /usr/share/doc/* /usr/share/locale/*

COPY ./scripts/*.sh /usr/sbin/

CMD ["/usr/bin/sq-git", "--help"]