diff --git a/docker/Dockerfile.full b/docker/Dockerfile.full index 1d170bfc45..0690b96958 100644 --- a/docker/Dockerfile.full +++ b/docker/Dockerfile.full @@ -38,6 +38,11 @@ RUN apt-get -y install \ libvips \ pkg-config +# these are necessary for pillow-simd, additional on disk size is small +# but could consider removing this. +RUN apt-get -y install \ + apt install libjpeg-dev zlib1g-dev + # gstreamer native https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c#install-gstreamer-on-ubuntu-or-debian RUN apt-get -y install \ gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa \ @@ -52,6 +57,8 @@ RUN apt-get -y install \ python3-setuptools \ python3-wheel +# armv7l does not have wheels for any of these +# and compile times would forever, if it works at all. RUN if [ "$(uname -m)" = "armv7l" ]; \ then \ apt-get -y install \ diff --git a/docker/Dockerfile.lite b/docker/Dockerfile.lite index 21423ce121..dd51eb4433 100644 --- a/docker/Dockerfile.lite +++ b/docker/Dockerfile.lite @@ -31,7 +31,6 @@ RUN apt-get -y install \ python3-setuptools \ python3-wheel - # python pip RUN python3 -m pip install --upgrade pip RUN python3 -m pip install aiofiles debugpy typing_extensions psutil diff --git a/docker/template/Dockerfile.full.header b/docker/template/Dockerfile.full.header index d95cd52b2b..d3cfd04d2b 100644 --- a/docker/template/Dockerfile.full.header +++ b/docker/template/Dockerfile.full.header @@ -35,6 +35,11 @@ RUN apt-get -y install \ libvips \ pkg-config +# these are necessary for pillow-simd, additional on disk size is small +# but could consider removing this. +RUN apt-get -y install \ + apt install libjpeg-dev zlib1g-dev + # gstreamer native https://gstreamer.freedesktop.org/documentation/installing/on-linux.html?gi-language=c#install-gstreamer-on-ubuntu-or-debian RUN apt-get -y install \ gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-alsa \ @@ -49,6 +54,8 @@ RUN apt-get -y install \ python3-setuptools \ python3-wheel +# armv7l does not have wheels for any of these +# and compile times would forever, if it works at all. RUN if [ "$(uname -m)" = "armv7l" ]; \ then \ apt-get -y install \