registry-cleaner/Dockerfile

9 lines
268 B
Docker
Raw Permalink Normal View History

2020-11-11 15:29:00 +00:00
FROM rust:1 as builder
COPY . .
RUN cargo install --path .
FROM debian:buster-slim
RUN apt-get update && apt-get install -y libssl-dev ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/registry-cleaner /usr/bin/registry-cleaner