From 74bdfa2441643e434351f335f97f2285225cb53b Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Thu, 13 Apr 2017 16:27:28 +0200 Subject: [PATCH] Remove gflags dependency. --- Dockerfile | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89fffc6..50168a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 &&\