Update Dockerfile
This commit is contained in:
parent
f06461313e
commit
3d23d369d1
16
Dockerfile
16
Dockerfile
@ -1,9 +1,17 @@
|
||||
FROM node:20-alpine
|
||||
FROM node:20-slim
|
||||
|
||||
RUN apk add --update wget build-base yasm ffmpeg
|
||||
RUN apt-get update
|
||||
RUN apt-get install -yqq gnupg dirmngr apt-transport-https software-properties-common
|
||||
|
||||
# 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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user