2023-12-27 20:56:04 +02:00
|
|
|
FROM ghcr.io/catthehacker/ubuntu:js-22.04
|
2023-12-27 19:56:07 +02:00
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -yqq wget build-essential yasm libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavfilter-dev libavdevice-dev libswresample-dev libfftw3-dev libclang-dev ffmpeg
|
|
|
|
|
|
|
|
WORKDIR /opt/rust
|
|
|
|
RUN wget https://sh.rustup.rs -O rustup-init.sh
|
|
|
|
RUN chmod +x rustup-init.sh
|
|
|
|
|
2023-12-27 21:41:40 +02:00
|
|
|
RUN ./rustup-init.sh -y
|
|
|
|
RUN $HOME/.cargo/bin/rustup install --force-non-host stable-x86_64-unknown-linux-gnu
|
|
|
|
RUN $HOME/.cargo/bin/rustup install --force-non-host stable-x86_64-unknown-linux-musl
|
|
|
|
RUN $HOME/.cargo/bin/rustup install --force-non-host stable-aarch64-unknown-linux-gnu
|
|
|
|
RUN $HOME/.cargo/bin/rustup install --force-non-host stable-aarch64-unknown-linux-musl
|