mirror of
https://github.com/13hannes11/gtk4-rs-docker.git
synced 2024-09-03 23:21:01 +02:00
add base containerfile
This commit is contained in:
15
Containerfile
Normal file
15
Containerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM fedora:latest
|
||||
ENV RUST_VERSION=1.58.1
|
||||
|
||||
RUN dnf install gtk4-devel gcc libadwaita-devel -y
|
||||
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
RUN . ~/.cargo/env
|
||||
RUN ls $HOME/.cargo/env
|
||||
ENV PATH=/root/.cargo/bin:$PATH
|
||||
RUN rustup install ${RUST_VERSION}
|
||||
|
||||
WORKDIR /mnt
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
|
||||
Reference in New Issue
Block a user