mirror of
https://github.com/kerberos-io/base.git
synced 2026-04-22 23:37:07 +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 \
|
cmake wget dh-autoreconf autotools-dev autoconf automake gcc \
|
||||||
build-essential libtool make ca-certificates nasm tar unzip wget pkg-config
|
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
|
# Static build x264
|
||||||
|
|
||||||
@@ -31,11 +39,4 @@ RUN git clone https://github.com/FFmpeg/FFmpeg && \
|
|||||||
--enable-static --disable-shared && \
|
--enable-static --disable-shared && \
|
||||||
make -j8 && \
|
make -j8 && \
|
||||||
make install && \
|
make install && \
|
||||||
cd .. && rm -rf FFmpeg
|
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
|
|
||||||
Reference in New Issue
Block a user