1
0
Fork 0
mirror of synced 2024-05-17 19:03:08 +12:00
czkawka/misc/docker/Dockerfile
2023-04-02 17:33:52 +02:00

13 lines
394 B
Docker

FROM ubuntu:22.04
# curl is needed by Rust update tool
RUN apt-get update \
&& apt-get install -y curl build-essential libgtk-4-dev \
&& apt-get clean ; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y # Download the latest stable Rust
ENV PATH="/root/.cargo/bin:${PATH}"
RUN cargo --version