forked from OpenVisualCloud/Dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
381 lines (313 loc) · 16.2 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
FROM ubuntu:18.04 AS build
WORKDIR /home
# COMMON BUILD TOOLS
ENV DEBIAN_FRONTEND=noninteractive
# hadolint ignore=DL3009
RUN apt-get update && apt-get install -y -q --no-install-recommends build-essential autoconf make git wget pciutils cpio libtool lsb-release ca-certificates pkg-config bison flex libcurl4-gnutls-dev zlib1g-dev
# Install cmake
ARG CMAKE_VER=3.13.1
ARG CMAKE_REPO=https://cmake.org/files
RUN wget -O - ${CMAKE_REPO}/v${CMAKE_VER%.*}/cmake-${CMAKE_VER}.tar.gz | tar xz && \
cd cmake-${CMAKE_VER} && \
./bootstrap --prefix="/usr/local" --system-curl && \
make -j8 && \
make install
# Install automake, use version 1.14 on CentOS
ARG AUTOMAKE_VER=1.14
ARG AUTOMAKE_REPO=https://ftp.gnu.org/pub/gnu/automake/automake-${AUTOMAKE_VER}.tar.xz
RUN apt-get install -y -q --no-install-recommends automake && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Build NASM
ARG NASM_VER=2.13.03
ARG NASM_REPO=https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VER}/nasm-${NASM_VER}.tar.bz2
RUN wget ${NASM_REPO} && \
tar -xaf nasm* && \
cd nasm-${NASM_VER} && \
./autogen.sh && \
./configure --prefix="/usr/local" --libdir=/usr/local/lib/x86_64-linux-gnu && \
make -j8 && \
make install
# Build YASM
ARG YASM_VER=1.3.0
ARG YASM_REPO=https://www.tortall.net/projects/yasm/releases/yasm-${YASM_VER}.tar.gz
RUN wget -O - ${YASM_REPO} | tar xz && \
cd yasm-${YASM_VER} && \
sed -i "s/) ytasm.*/)/" Makefile.in && \
./configure --prefix="/usr/local" --libdir=/usr/local/lib/x86_64-linux-gnu && \
make -j8 && \
make install
# Build libnice
ARG NICE_VER="0.1.4"
ARG NICE_REPO=http://nice.freedesktop.org/releases/libnice-${NICE_VER}.tar.gz
ARG LIBNICE_PATCH_VER="4.3.1"
ARG LIBNICE_PATCH_REPO=https://github.com/open-webrtc-toolkit/owt-server/archive/v${LIBNICE_PATCH_VER}.tar.gz
RUN apt-get update && apt-get install -y -q --no-install-recommends libglib2.0-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget -O - ${NICE_REPO} | tar xz && \
cd libnice-${NICE_VER} && \
wget -O - ${LIBNICE_PATCH_REPO} | tar xz && \
patch -p1 < owt-server-${LIBNICE_PATCH_VER}/scripts/patches/libnice014-agentlock.patch && \
patch -p1 < owt-server-${LIBNICE_PATCH_VER}/scripts/patches/libnice014-agentlock-plus.patch && \
patch -p1 < owt-server-${LIBNICE_PATCH_VER}/scripts/patches/libnice014-removecandidate.patch && \
patch -p1 < owt-server-${LIBNICE_PATCH_VER}/scripts/patches/libnice014-keepalive.patch && \
patch -p1 < owt-server-${LIBNICE_PATCH_VER}/scripts/patches/libnice014-startcheck.patch && \
patch -p1 < owt-server-${LIBNICE_PATCH_VER}/scripts/patches/libnice014-closelock.patch && \
./configure --prefix="/usr/local" --libdir=/usr/local/lib/x86_64-linux-gnu && \
make -s V= && \
make install
# Build open ssl
ARG OPENSSL_VER="1.1.1h"
ARG OPENSSL_REPO=http://www.openssl.org/source/openssl-${OPENSSL_VER}.tar.gz
ARG BUILD_PREFIX=/usr/local/ssl
ARG BUILD_DESTDIR=/home/build
RUN wget -O - ${OPENSSL_REPO} | tar xz && \
cd openssl-${OPENSSL_VER} && \
./config no-ssl3 --prefix=${BUILD_PREFIX} --openssldir=${BUILD_PREFIX} -Wl,-rpath=${BUILD_PREFIX}/lib -fPIC && \
make depend && \
make -s V=0 && \
make install
# Build libre
ARG LIBRE_VER="v0.5.0"
ARG LIBRE_REPO=https://github.com/creytiv/re.git
RUN git clone ${LIBRE_REPO} && \
cd re && \
git checkout ${LIBRE_VER} && \
make SYSROOT_ALT="/usr" RELEASE=1 && \
make install SYSROOT_ALT="/usr" RELEASE=1 PREFIX="/usr"
# Build usrsctp
ARG USRSCTP_VERSION="30d7f1bd0b58499e1e1f2415e84d76d951665dc8"
ARG USRSCTP_FILE="${USRSCTP_VERSION}.tar.gz"
ARG USRSCTP_EXTRACT="usrsctp-${USRSCTP_VERSION}"
ARG USRSCTP_URL="https://github.com/sctplab/usrsctp/archive/${USRSCTP_FILE}"
RUN wget -O - ${USRSCTP_URL} | tar xz && \
mv ${USRSCTP_EXTRACT} usrsctp && \
cd usrsctp && \
./bootstrap && \
./configure --prefix="/usr/local" --libdir=/usr/local/lib/x86_64-linux-gnu && \
make && \
make install
# Build libsrtp2
ARG SRTP2_VER="2.1.0"
ARG SRTP2_REPO=https://codeload.github.com/cisco/libsrtp/tar.gz/v${SRTP2_VER}
RUN apt-get update && apt-get install -y -q --no-install-recommends curl
RUN curl -o libsrtp-${SRTP2_VER}.tar.gz ${SRTP2_REPO} && \
tar xzf libsrtp-${SRTP2_VER}.tar.gz && \
cd libsrtp-${SRTP2_VER} && \
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig" && \
export CFLAGS="-fPIC" && \
./configure --enable-openssl --prefix="/usr/local" --with-openssl-dir="/usr/local/ssl/" && \
make -s V=0 && \
make install
# Build fdk-aac
ARG FDK_AAC_VER=v0.1.6
ARG FDK_AAC_REPO=https://github.com/mstorsjo/fdk-aac/archive/${FDK_AAC_VER}.tar.gz
RUN wget -O - ${FDK_AAC_REPO} | tar xz && mv fdk-aac-${FDK_AAC_VER#v} fdk-aac && \
cd fdk-aac && \
autoreconf -fiv && \
./configure --prefix="/usr/local" --libdir=/usr/local/lib/x86_64-linux-gnu --enable-shared && \
make -j8 && \
make install DESTDIR=/home/build && \
make install
# Fetch FFmpeg source
ARG FFMPEG_VER=n4.1.3
ARG FFMPEG_REPO=https://github.com/FFmpeg/FFmpeg/archive/${FFMPEG_VER}.tar.gz
ARG FFMPEG_1TN_PATCH_REPO=https://patchwork.ffmpeg.org/patch/11625/raw
ARG FFMPEG_THREAD_PATCH_REPO=https://patchwork.ffmpeg.org/patch/11035/raw
ARG FFMPEG_PATCHES_RELEASE_VER=0.1
ARG FFMPEG_PATCHES_RELEASE_URL=https://github.com/VCDP/CDN/archive/v${FFMPEG_PATCHES_RELEASE_VER}.tar.gz
ARG FFMPEG_PATCHES_PATH=/home/CDN-${FFMPEG_PATCHES_RELEASE_VER}
RUN wget -O - ${FFMPEG_PATCHES_RELEASE_URL} | tar xz
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -q --no-install-recommends libass-dev libfreetype6-dev libvdpau-dev libsdl2-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev zlib1g-dev libssl-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget -O - ${FFMPEG_REPO} | tar xz && mv FFmpeg-${FFMPEG_VER} FFmpeg && \
cd FFmpeg ;
# Compile FFmpeg
RUN cd /home/FFmpeg && \
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig" && \
./configure --prefix="/usr/local" --libdir=/usr/local/lib/x86_64-linux-gnu --enable-shared --disable-static --disable-libvpx --disable-vaapi --enable-libfreetype --enable-libfdk-aac --enable-nonfree && \
make -j8 && \
make install && make install DESTDIR="/home/build"
# Install node
ARG NODE_VER=v10.21.0
ARG NODE_REPO=https://nodejs.org/dist/${NODE_VER}/node-${NODE_VER}-linux-x64.tar.xz
RUN apt-get update && apt-get install -y -q --no-install-recommends ca-certificates wget xz-utils && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget ${NODE_REPO} && \
tar xf node-${NODE_VER}-linux-x64.tar.xz && \
cp node-*/* /usr/local -rf && \
rm -rf node-*
# Fetch SVT-HEVC
ARG SVT_HEVC_VER=v1.3.0
ARG SVT_HEVC_REPO=https://github.com/intel/SVT-HEVC
# hadolint ignore=SC1091
RUN git clone ${SVT_HEVC_REPO} && \
cd SVT-HEVC/Build/linux && \
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig" && \
git checkout ${SVT_HEVC_VER} && \
mkdir -p ../../Bin/Release && \
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_ASM_NASM_COMPILER=yasm ../.. && \
make -j8 && \
make install DESTDIR=/home/build && \
make install
# Fetch gmmlib
ARG GMMLIB_VER=intel-gmmlib-18.3.0
ARG GMMLIB_REPO=https://github.com/intel/gmmlib/archive/${GMMLIB_VER}.tar.gz
RUN wget -O - ${GMMLIB_REPO} | tar xz && mv gmmlib-${GMMLIB_VER} gmmlib;
# Build libva
ARG LIBVA_VER=2.4.0
ARG LIBVA_REPO=https://github.com/intel/libva/archive/${LIBVA_VER}.tar.gz
RUN apt-get remove -y libva*
RUN apt-get update && apt-get install -y -q --no-install-recommends libdrm-dev libx11-dev xorg-dev libgl1-mesa-dev openbox && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget -O - ${LIBVA_REPO} | tar xz && \
cd libva-${LIBVA_VER} && \
./autogen.sh --prefix=/usr/local --libdir=/usr/local/lib/x86_64-linux-gnu && \
make -j8 && \
make install DESTDIR=/home/build && \
make install;
# Build libva-utils
ARG LIBVA_UTILS_VER=2.4.0
ARG LIBVA_UTILS_REPO=https://github.com/intel/libva-utils/archive/${LIBVA_UTILS_VER}.tar.gz
RUN wget -O - ${LIBVA_UTILS_REPO} | tar xz; \
cd libva-utils-${LIBVA_UTILS_VER}; \
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig"; \
./autogen.sh --prefix=/usr/local --libdir=/usr/local/lib/x86_64-linux-gnu; \
make -j8; \
make install DESTDIR=/home/build; \
make install;
# Build media driver
ARG MEDIA_DRIVER_VER=intel-media-kbl-19.1.1
ARG MEDIA_DRIVER_REPO=https://github.com/VCDP/media-driver/archive/${MEDIA_DRIVER_VER}.tar.gz
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y -q --no-install-recommends libdrm-dev libpciaccess-dev libx11-dev xorg-dev libgl1-mesa-dev
RUN wget -O - ${MEDIA_DRIVER_REPO} | tar xz && mv media-driver-${MEDIA_DRIVER_VER} media-driver && \
mkdir -p media-driver/build && \
cd media-driver/build && \
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig" && \
cmake -DBUILD_TYPE=release -DBUILD_ALONG_WITH_CMRTLIB=1 -DMEDIA_VERSION="2.0.0" -DBS_DIR_GMMLIB=/home/gmmlib/Source/GmmLib -DBS_DIR_COMMON=/home/gmmlib/Source/Common -DBS_DIR_INC=/home/gmmlib/Source/inc -DBS_DIR_MEDIA=/home/media-driver -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr/local -DMEDIA_BUILD_FATAL_WARNINGS=OFF .. && \
make -j8 && \
make install DESTDIR=/home/build && \
make install
# Build Intel(R) Media SDK
ARG MSDK_VER=MSS-KBL-2019-R1-HF1
ARG MSDK_REPO=https://github.com/Intel-Media-SDK/MediaSDK/archive/${MSDK_VER}.tar.gz
RUN wget -O - ${MSDK_REPO} | tar xz && mv MediaSDK-${MSDK_VER} MediaSDK && \
mkdir -p MediaSDK/build && \
cd MediaSDK/build && \
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig" && \
cmake -DCMAKE_INSTALL_PREFIX=/opt/intel/mediasdk -DCMAKE_INSTALL_INCLUDEDIR=include -DBUILD_SAMPLES=OFF -DENABLE_OPENCL=OFF -Wno-dev .. && \
make -j8 && \
make install DESTDIR=/home/build && \
rm -rf /home/build/usr/samples && \
rm -rf /home/build/usr/plugins && \
rm -rf /home/build/usr/local/samples && \
rm -rf /home/build/usr/local/plugins && \
make install;
# Build OWT specific modules
ARG OWTSERVER_REPO=https://github.com/open-webrtc-toolkit/owt-server.git
ARG OPENH264_MAJOR=1
ARG OPENH264_MINOR=7
ARG OPENH264_SOVER=4
ARG OPENH264_SOURCENAME=v${OPENH264_MAJOR}.${OPENH264_MINOR}.0.tar.gz
ARG OPENH264_SOURCE=https://github.com/cisco/openh264/archive/v${OPENH264_MAJOR}.${OPENH264_MINOR}.0.tar.gz
ARG OPENH264_BINARYNAME=libopenh264-${OPENH264_MAJOR}.${OPENH264_MINOR}.0-linux64.${OPENH264_SOVER}.so
ARG OPENH264_BINARY=https://github.com/cisco/openh264/releases/download/v${OPENH264_MAJOR}.${OPENH264_MINOR}.0/${OPENH264_BINARYNAME}.bz2
ARG LICODE_COMMIT="8b4692c88f1fc24dedad66b4f40b1f3d804b50ca"
ARG LICODE_REPO=https://github.com/lynckia/licode.git
ARG LICODE_PATCH_REPO=https://github.com/open-webrtc-toolkit/owt-server/tree/master/scripts/patches/licode/
ARG WEBRTC_REPO=https://github.com/open-webrtc-toolkit/owt-deps-webrtc.git
ARG SVT_VER=v1.3.0
ARG SVT_REPO=https://github.com/intel/SVT-HEVC.git
ARG SERVER_PATH=/home/owt-server
ARG SOURCE_DIR=/home
ARG OWT_SDK_REPO=https://github.com/open-webrtc-toolkit/owt-client-javascript.git
ARG OWT_BRANCH=4.3.x
ARG DOWNLOAD_JSON_LINK="https://github.com/nlohmann/json/releases/download/v3.6.1/json.hpp"
ARG FDKAAC_LIB=/home/build/usr/local/lib/x86_64-linux-gnu
RUN apt-get update && apt-get install -y -q --no-install-recommends python libglib2.0-dev libboost-thread-dev libboost-system-dev liblog4cxx-dev libvdpau-dev
# 1. Clone OWT server source code
# 2. Clone licode source code and patch
# 3. Clone webrtc source code and patch
RUN git config --global user.email "you@example.com" && \
git config --global user.name "Your Name" && \
cd ${SOURCE_DIR} && git clone -b ${OWT_BRANCH} ${OWTSERVER_REPO} && \
# Get json hpp file
wget -P /usr/include ${DOWNLOAD_JSON_LINK} && \
# Install node modules for owt
npm install -g --loglevel error node-gyp@v6.1.0 grunt-cli underscore jsdoc && \
cd owt-server && npm install nan && \
# Get openh264 for owt
cd third_party && \
mkdir openh264 && cd openh264 && \
wget ${OPENH264_SOURCE} && \
wget ${OPENH264_BINARY} && \
tar xzf ${OPENH264_SOURCENAME} openh264-${OPENH264_MAJOR}.${OPENH264_MINOR}.0/codec/api && \
ln -s -v openh264-${OPENH264_MAJOR}.${OPENH264_MINOR}.0/codec codec && \
bzip2 -d ${OPENH264_BINARYNAME}.bz2 && \
ln -s -v ${OPENH264_BINARYNAME} libopenh264.so.${OPENH264_SOVER} && \
ln -s -v libopenh264.so.${OPENH264_SOVER} libopenh264.so && \
echo 'const char* stub() {return "this is a stub lib";}' > pseudo-openh264.cpp && \
gcc pseudo-openh264.cpp -fPIC -shared -o pseudo-openh264.so && \
# Get licode for owt
cd ${SERVER_PATH}/third_party && git clone ${LICODE_REPO} && \
cd licode && \
git reset --hard ${LICODE_COMMIT} && \
wget -r -nH --cut-dirs=5 --no-parent ${LICODE_PATCH_REPO} && \
git am ${SERVER_PATH}/scripts/patches/licode/*.patch && \
# Install webrtc for owt
cd ${SERVER_PATH}/third_party && mkdir webrtc && cd webrtc &&\
export GIT_SSL_NO_VERIFY=1 && \
git clone -b 59-server ${WEBRTC_REPO} src && \
./src/tools-woogeen/install.sh && \
./src/tools-woogeen/build.sh && \
# Get js client sdk for owt
cd ${SOURCE_DIR} && git clone -b ${OWT_BRANCH} ${OWT_SDK_REPO} && cd owt-client-javascript/scripts && npm install && grunt && \
mkdir ${SERVER_PATH}/third_party/quic-lib && \
ln -s /opt/intel/mediasdk/lib /opt/intel/mediasdk/lib64 && cd ${SERVER_PATH}/third_party/quic-lib && wget https://github.com/open-webrtc-toolkit/owt-deps-quic/releases/download/v0.1/dist.tgz && tar xzf dist.tgz && \
cd ${SERVER_PATH} && export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/ssl/lib:/usr/local/lib/x86_64-linux-gnu:/opt/intel/mediasdk/lib64 && export PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-gnu/pkgconfig && ./scripts/build.js -t mcu-all -r -c && \
./scripts/pack.js -t all --install-module --no-pseudo --sample-path /home/owt-client-javascript/dist/samples/conference
FROM ubuntu:18.04
LABEL Description="This is the image for owt development on Ubuntu 18.04"
LABEL Vendor="Intel Corporation"
WORKDIR /home
# Prerequisites
# Install node
ARG NODE_VER=v10.21.0
ARG NODE_REPO=https://nodejs.org/dist/${NODE_VER}/node-${NODE_VER}-linux-x64.tar.xz
RUN apt-get update && apt-get install -y -q --no-install-recommends ca-certificates wget xz-utils && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN wget ${NODE_REPO} && \
tar xf node-${NODE_VER}-linux-x64.tar.xz && \
cp node-*/* /usr/local -rf && \
rm -rf node-*
COPY --from=build /home/owt-server/dist /home/owt
COPY --from=build /home/build /
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/x86_64-linux-gnu:/opt/intel/mediasdk/lib64
RUN ln -s /opt/intel/mediasdk/lib /opt/intel/mediasdk/lib64 && echo -e "\x1b[32mInstalling dependent components and libraries via apt-get...\x1b[0m" && \
touch /home/test && \
sed -i "/lssl/i\'\-L\/usr\/local\/ssl\/lib\'," /home/test && \
rm /home/test && apt-get update && \
apt-get install --no-install-recommends rabbitmq-server mongodb libboost-system-dev libboost-thread-dev liblog4cxx-dev libglib2.0-0 libfreetype6-dev curl -y && \
apt-get install intel-gpu-tools libgl1-mesa-dev libvdpau-dev -y && \
echo "#!/bin/bash -e" >> /home/launch.sh && \
echo "service mongodb start &" >> /home/launch.sh && \
echo "service rabbitmq-server start &" >> /home/launch.sh && \
echo "while ! mongo --quiet --eval \"db.adminCommand('listDatabases')\"" >> /home/launch.sh && \
echo "do" >> /home/launch.sh && \
echo " echo mongod not launch" >> /home/launch.sh && \
echo " sleep 1" >> /home/launch.sh && \
echo "done" >> /home/launch.sh && \
echo "echo mongodb connected successfully" >> /home/launch.sh && \
echo "cd /home/owt" >> /home/launch.sh && \
echo "./video_agent/init.sh --hardware" >> /home/launch.sh && \
echo "./management_api/init.sh && ./bin/start-all.sh " >> /home/launch.sh && \
chmod +x /home/launch.sh && \
export PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig" && \
rm -rf /var/lib/apt/lists/*;
ENV LIBVA_DRIVER_NAME=iHD
ONBUILD RUN apt-get update && apt-get --only-upgrade install -y mongodb