Skip to content

Commit

Permalink
Switch Linux-build Debian version to Debian 10 (current stable) (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszkrzyzanowski authored May 20, 2021
1 parent ffd81a9 commit 7554a54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:8-slim
FROM debian:10-slim

RUN apt-get update \
&& apt-get install autoconf libtool nasm libpng-dev automake pkg-config build-essential wget \
Expand All @@ -10,5 +10,5 @@ RUN tar -xzvf mozjpeg-3.3.1.tar.gz
WORKDIR /src/mozjpeg-3.3.1

RUN autoreconf -fiv \
&& ./configure LDFLAGS=-static libpng_LIBS='/usr/lib/x86_64-linux-gnu/libpng12.a -lz' --enable-static --disable-shared \
&& ./configure LDFLAGS=-static libpng_LIBS='/usr/lib/x86_64-linux-gnu/libpng16.a -lz' --enable-static --disable-shared \
&& make -j8

0 comments on commit 7554a54

Please sign in to comment.