mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 18:25:22 +03:00
Merge pull request #11 from podarok/add_mpp_ffmpeg_arm64
feat: no-aio. Add todos
This commit is contained in:
commit
419d8ff025
@ -9,11 +9,12 @@ RTMP_MODULE_VERSION="1.2.1"
|
||||
|
||||
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
|
||||
apt-get update
|
||||
apt-get -qq update
|
||||
|
||||
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
|
||||
mkdir /tmp/nginx
|
||||
wget -nv https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
|
||||
@ -60,7 +61,6 @@ if [ "$ARCH" = "aarch64" ]; then
|
||||
fi
|
||||
|
||||
./configure --prefix=/usr/local/nginx \
|
||||
--with-file-aio \
|
||||
--with-http_sub_module \
|
||||
--with-http_ssl_module \
|
||||
--with-threads \
|
||||
|
||||
@ -4,6 +4,7 @@ set -euxo pipefail
|
||||
|
||||
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-transport-https \
|
||||
gnupg \
|
||||
|
||||
@ -10,6 +10,7 @@ if [ -e /usr/local/include/mpp/mpp.h ] || [ -e /usr/include/mpp/mpp.h ] || pkg-c
|
||||
else
|
||||
# Install mpp from sources
|
||||
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 \
|
||||
libtool coreutils autoconf automake build-essential cmake \
|
||||
doxygen git graphviz imagemagick libasound2-dev libass-dev \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user