bliss-rs/Dockerfile
Anton 42a18fd603
Some checks failed
Build binaries and publish / build-linux (aarch64-unknown-linux-gnu) (push) Failing after 14s
Build binaries and publish / build-linux (aarch64-unknown-linux-musl) (push) Failing after 8s
Build binaries and publish / build-linux (x86_64-unknown-linux-gnu) (push) Failing after 9s
Build binaries and publish / build-linux (x86_64-unknown-linux-musl) (push) Failing after 9s
Fix path, include all toolchains in the Docker image
2023-12-27 21:41:40 +02:00

15 lines
721 B
Docker

FROM ghcr.io/catthehacker/ubuntu:js-22.04
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
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