13 lines
516 B
Docker
13 lines
516 B
Docker
FROM node:20-alpine
|
|
|
|
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
|
|
|
|
WORKDIR /opt/rust
|
|
RUN wget https://sh.rustup.rs -O rustup-init.sh
|
|
RUN chmod +x rustup-init.sh
|
|
|
|
RUN ./rustup-init.sh -y -t x86_64-unknown-linux-gnu x86_64-unknown-linux-musl aarch64-unknown-linux-gnu aarch64-unknown-linux-musl
|