Remove gflags dependency.

1
Icedream 2017-04-13 16:27:28 +02:00
parent 9e4acc1b28
commit 74bdfa2441
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 0 additions and 14 deletions

View File

@ -6,7 +6,6 @@ FROM alpine:3.5
# libpng
# Dev & build
ARG GFLAGS_VERSION=v2.2.0
ARG GUETZLI_VERSION=v1.0.1
RUN \
apk add --no-cache --virtual .build-deps \
@ -16,25 +15,12 @@ RUN \
coreutils \
cmake \
&&\
\
git clone "https://github.com/gflags/gflags.git" /var/tmp/gflags &&\
(cd /var/tmp/gflags &&\
git checkout "${GFLAGS_VERSION}" &&\
mkdir build &&\
cd build &&\
cmake .. &&\
make -j$(nproc) all install DESTDIR="/opt/build" \
) &&\
\
git clone "https://github.com/google/guetzli.git" /var/tmp/guetzli &&\
(cd /var/tmp/guetzli &&\
git checkout "${GUETZLI_VERSION}" &&\
make -j$(nproc) config=release \
TARGETDIR=/usr/local/bin \
LDFLAGS="-L/opt/build/usr/local/lib -static" \
CXXFLAGS="-I/opt/build/usr/local/include" \
CFLAGS="-I/opt/build/usr/local/include" \
CPPFLAGS="-I/opt/build/usr/local/include" \
) &&\
\
apk del --no-cache .build-deps &&\