1
0
Fork 0
mirror of synced 2024-06-01 18:19:46 +12:00
czkawka/misc/docker/Dockerfile

13 lines
394 B
Docker
Raw Normal View History

2023-04-03 03:33:52 +12:00
FROM ubuntu:22.04
2022-01-07 09:31:44 +13:00
# curl is needed by Rust update tool
RUN apt-get update \
2022-05-22 20:59:09 +12:00
&& apt-get install -y curl build-essential libgtk-4-dev \
2022-01-07 09:31:44 +13:00
&& 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