Skip to content

Commit

Permalink
docker: add libjpeg-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 21, 2023
1 parent 8999704 commit 08f4922
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down
1 change: 0 additions & 1 deletion docker/Dockerfile.lite
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions docker/template/Dockerfile.full.header
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 08f4922

Please sign in to comment.