forked from DvorakDwarf/Infinite-Storage-Glitch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (21 loc) · 767 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ubuntu:22.04
# Non-interactive mode for apt-get
ARG DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y curl
RUN apt-get install -y libopencv-dev
RUN apt-get install -y ffmpeg
RUN apt-get install -y build-essential
RUN apt-get install -y libssl-dev
RUN apt-get install -y clang libclang-dev
# Install Rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
# Set the working directory
WORKDIR /home/Infinite-Storage-Glitch
# Set cargo home to a folder in the working directory this will make rebuild
# faster as it allows the cargo cache to be saved between docker runs.
ENV CARGO_HOME=/home/Infinite-Storage-Glitch/cargo_home
CMD ["/bin/bash"]