Merge pull request #11 from podarok/add_mpp_ffmpeg_arm64

feat: no-aio. Add todos
This commit is contained in:
Andrii Podanenko 2023-03-24 17:31:22 +02:00 committed by GitHub
commit 419d8ff025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -9,11 +9,12 @@ RTMP_MODULE_VERSION="1.2.1"
cp /etc/apt/sources.list /etc/apt/sources.list.d/sources-src.list cp /etc/apt/sources.list /etc/apt/sources.list.d/sources-src.list
sed -i 's|deb http|deb-src http|g' /etc/apt/sources.list.d/sources-src.list sed -i 's|deb http|deb-src http|g' /etc/apt/sources.list.d/sources-src.list
apt-get update apt-get -qq update
apt-get -yqq build-dep nginx apt-get -yqq build-dep nginx
apt-get -yqq install --no-install-recommends ca-certificates wget # TODO: move all apt-get installs to dedicated script for having it in a single Docker layer = performance of reruns.
apt-get -yqq install --no-install-recommends ca-certificates wget libaio-dev
update-ca-certificates -f update-ca-certificates -f
mkdir /tmp/nginx mkdir /tmp/nginx
wget -nv https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz wget -nv https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
@ -60,7 +61,6 @@ if [ "$ARCH" = "aarch64" ]; then
fi fi
./configure --prefix=/usr/local/nginx \ ./configure --prefix=/usr/local/nginx \
--with-file-aio \
--with-http_sub_module \ --with-http_sub_module \
--with-http_ssl_module \ --with-http_ssl_module \
--with-threads \ --with-threads \

View File

@ -4,6 +4,7 @@ set -euxo pipefail
apt-get -qq update apt-get -qq update
# TODO: move all apt-get installs to dedicated script for having it in a single Docker layer = performance of reruns.
apt-get -qq install --no-install-recommends -y \ apt-get -qq install --no-install-recommends -y \
apt-transport-https \ apt-transport-https \
gnupg \ gnupg \

View File

@ -10,6 +10,7 @@ if [ -e /usr/local/include/mpp/mpp.h ] || [ -e /usr/include/mpp/mpp.h ] || pkg-c
else else
# Install mpp from sources # Install mpp from sources
apt-get -qq update apt-get -qq update
# TODO: move all apt-get installs to dedicated script for having it in a single Docker layer = performance of reruns.
apt-get install -y git build-essential yasm pkg-config \ apt-get install -y git build-essential yasm pkg-config \
libtool coreutils autoconf automake build-essential cmake \ libtool coreutils autoconf automake build-essential cmake \
doxygen git graphviz imagemagick libasound2-dev libass-dev \ doxygen git graphviz imagemagick libasound2-dev libass-dev \