File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:18.10
2
2
3
3
RUN apt-get update \
4
- && apt-get -y --no-install-recommends install build-essential curl g++ ca-certificates \
4
+ && apt-get -y --no-install-recommends install build-essential curl g++ ca-certificates libz-dev \
5
5
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
6
6
&& update-ca-certificates
7
7
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ remove_dir () {
43
43
download () {
44
44
45
45
DOWNLOAD_PATH=$PACKAGES ;
46
-
46
+
47
47
if [ ! -z " $3 " ]; then
48
48
mkdir -p $PACKAGES /$3
49
49
DOWNLOAD_PATH=$PACKAGES /$3
@@ -340,6 +340,15 @@ if build "av1"; then
340
340
build_done " av1"
341
341
fi
342
342
343
+ if build " openssl" ; then
344
+ download " https://www.openssl.org/source/openssl-1.1.1c.tar.gz" " openssl-1.1.1c.tar.gz"
345
+ cd $PACKAGES /openssl-1.1.1c || exit
346
+ execute ./config --prefix=${WORKSPACE} --openssldir=${WORKSPACE} shared zlib
347
+ execute make -j $MJOBS
348
+ execute make install
349
+ build_done " openssl"
350
+ fi
351
+
343
352
build " ffmpeg"
344
353
download " https://ffmpeg.org/releases/ffmpeg-4.2.tar.bz2" " ffmpeg-snapshot.tar.bz2"
345
354
cd $PACKAGES /ffmpeg-4.2 || exit
@@ -355,6 +364,7 @@ cd $PACKAGES/ffmpeg-4.2 || exit
355
364
--disable-shared \
356
365
--disable-ffplay \
357
366
--disable-doc \
367
+ --enable-openssl \
358
368
--enable-gpl \
359
369
--enable-version3 \
360
370
--enable-nonfree \
@@ -408,4 +418,4 @@ elif [[ ! $SKIPINSTALL == "yes" ]]; then
408
418
fi
409
419
fi
410
420
411
- exit 0
421
+ exit 0
You can’t perform that action at this time.
0 commit comments