cloud-scanner-cli 3.2.0

Boavizta's Cloud-scanner estimates the environmental impacts of your AWS EC2 usage
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# used for building releases - done once in a while
# and pretty slow but can handle multi platform

FROM rust:1.82.0 AS builder

RUN apt update && apt install -y musl-tools musl-dev
RUN update-ca-certificates
WORKDIR /app

COPY . .
RUN cargo build --release --bin cloud-scanner-cli

FROM debian:bookworm-slim AS runtime

COPY --from=builder /app/target/release/cloud-scanner-cli /usr/local/bin/

EXPOSE 8000
ENTRYPOINT ["/usr/local/bin/cloud-scanner-cli"]