This commit is contained in:
2024-04-25 17:02:17 +02:00
parent 4eb0a8c242
commit 77b4c13401

View File

@@ -1,5 +1,9 @@
FROM rust:bullseye AS builder FROM rust:bullseye AS builder
RUN apt-get update \
&& apt-get install -y cmake \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
COPY . . COPY . .
@@ -10,7 +14,7 @@ RUN cargo build --release --bin batch_downloader
FROM debian:bullseye-slim FROM debian:bullseye-slim
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y openssl ca-certificates curl jq cmake \ && apt-get install -y openssl ca-certificates curl jq \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN update-ca-certificates RUN update-ca-certificates