mirror of
https://github.com/kerberos-io/base.git
synced 2026-04-22 15:27:03 +08:00
upgrade to node14
This commit is contained in:
+9
-8
@@ -7,6 +7,14 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y wget build-essent
|
||||
cmake wget dh-autoreconf autotools-dev autoconf automake gcc \
|
||||
build-essential libtool make ca-certificates nasm tar unzip wget pkg-config
|
||||
|
||||
|
||||
########################
|
||||
# Download Yarn
|
||||
|
||||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
||||
apt-get install -y nodejs && \
|
||||
npm install -g yarn
|
||||
|
||||
#############################
|
||||
# Static build x264
|
||||
|
||||
@@ -31,11 +39,4 @@ RUN git clone https://github.com/FFmpeg/FFmpeg && \
|
||||
--enable-static --disable-shared && \
|
||||
make -j8 && \
|
||||
make install && \
|
||||
cd .. && rm -rf FFmpeg
|
||||
|
||||
########################
|
||||
# Download Yarn
|
||||
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
|
||||
apt-get install -y nodejs && \
|
||||
npm install -g yarn
|
||||
cd .. && rm -rf FFmpeg
|
||||
Reference in New Issue
Block a user