mirror of https://github.com/qarmin/czkawka
Build with Docker (#562)
parent
74e4ab5263
commit
277bb8b39a
@ -0,0 +1,12 @@
|
||||
FROM debian:11
|
||||
|
||||
# curl is needed by Rust update tool
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl build-essential libgtk-3-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
|
Loading…
Reference in New Issue