2023-12-28 00:46:05 +02:00
|
|
|
FROM node:20-alpine
|
2023-12-27 19:56:07 +02:00
|
|
|
|
2023-12-28 00:46:05 +02:00
|
|
|
RUN apk add --update wget build-base yasm ffmpeg
|
|
|
|
|
|
|
|
# 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
|
2023-12-27 19:56:07 +02:00
|
|
|
|
|
|
|
WORKDIR /opt/rust
|
|
|
|
RUN wget https://sh.rustup.rs -O rustup-init.sh
|
|
|
|
RUN chmod +x rustup-init.sh
|
|
|
|
|
2023-12-27 22:15:37 +02:00
|
|
|
RUN ./rustup-init.sh -y -t x86_64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-gnu aarch64-unknown-linux-musl
|