containers/rust/Dockerfile

13 lines
271 B
Docker
Raw Normal View History

2022-11-24 23:39:35 -06:00
FROM alpine:latest
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
2022-11-25 00:03:58 -06:00
RUN apk add --no-cache rustup build-base pkgconfig openssl-dev \
2022-11-24 23:39:35 -06:00
&& rustup-init -y
ENV PATH=/root/.cargo/bin:$PATH
RUN rustup component add llvm-tools-preview
2022-11-25 00:03:58 -06:00
RUN cargo install cargo-audit