Use libraspberrypi-dev instead of building the libraries ourselves

This commit is contained in:
Cameron Gutman
2020-02-05 18:16:26 -08:00
parent bf044086e4
commit 1397d2cf24
5 changed files with 7 additions and 16 deletions

View File

@@ -3,12 +3,15 @@ FROM arm32v7/debian:buster
RUN set -ex && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y g++ make devscripts debhelper coreutils git wget nasm cmake libv4l-dev && \
apt-get install -y libssl-dev qtbase5-dev qtquickcontrols2-5-dev qtdeclarative5-dev libqt5svg5-dev libgl1-mesa-dev libegl1-mesa-dev libxkbcommon-dev wayland-protocols libopus-dev libva-dev libvdpau-dev libsdl2-dev libsdl2-ttf-dev && \
apt-get install -y --no-install-recommends gnupg && \
echo "deb http://archive.raspberrypi.org/debian/ buster main" >> /etc/apt/sources.list && \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 82B129927FA3303E && \
apt-get update && \
apt-get install -y g++ make devscripts fakeroot debhelper git nasm && \
apt-get install -y --no-install-recommends libraspberrypi-dev libssl-dev qtbase5-dev qtquickcontrols2-5-dev qtdeclarative5-dev libqt5svg5-dev libgl1-mesa-dev libegl1-mesa-dev libxkbcommon-dev wayland-protocols libopus-dev libva-dev libvdpau-dev libsdl2-dev libsdl2-ttf-dev && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/*
COPY userland /opt/userland
COPY FFmpeg /opt/FFmpeg
COPY scripts/build-deps.sh /opt/scripts/