registry-cleaner/Dockerfile
2020-11-11 23:29:00 +08:00

9 lines
268 B
Docker

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