From 7393b0da870259385a44a70e081ab3276d215427 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 7 Jun 2017 14:12:20 +0300 Subject: [PATCH] fix "LOCK_UN" build error ../../src/base/File.h:54:21: error: 'LOCK_UN' was not declared in this scope --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 78b1525..906a362 100644 --- a/Dockerfile +++ b/Dockerfile @@ -94,7 +94,10 @@ RUN set -x && \ --with-large-files \ --with-default-user=squid \ --with-openssl \ - --with-pidfile=/var/run/squid/squid.pid \ + --with-pidfile=/var/run/squid/squid.pid && \ + \ + sed -ie 's/LOCK_UN/8/g' src/base/File.h && \ + \ make && \ make install && \ install -d -o squid -g squid \