21 lines
913 B
Docker
21 lines
913 B
Docker
FROM node:20-slim
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -yqq gnupg dirmngr apt-transport-https software-properties-common
|
|
|
|
RUN gpg -K && gpg --no-default-keyring \
|
|
--keyring /usr/share/keyrings/deb-multimedia.gpg \
|
|
--keyserver keyserver.ubuntu.com \
|
|
--recv-keys 5C808C2B65558117
|
|
RUN echo "deb [signed-by=/usr/share/keyrings/deb-multimedia.gpg] https://www.deb-multimedia.org $(lsb_release -sc) main non-free" \
|
|
| tee /etc/apt/sources.list.d/deb-multimedia.list
|
|
|
|
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
|