Skip to content

Commit eeb0537

Browse files
okuminztzg
authored andcommitted
ZOOKEEPER-4055: Dockerfile can't build Zookeeper C client library
https://issues.apache.org/jira/browse/ZOOKEEPER-4055 This PR would fix the build by installing `pkg-config` and enabling `PKG_CHECK_MODULES`. https://github.com/apache/zookeeper/blob/4e82a8be889d91dde46a11b38c8a20e82f3220f2/zookeeper-client/zookeeper-client-c/acinclude.m4#L314-L327 Another approach is to use a maven image with old Debian but it's less reasonable for me. Author: okumin <[email protected]> Reviewers: Enrico Olivelli <[email protected]>, Damien Diederen <[email protected]> Closes apache#1575 from okumin/ZOOKEEPER-4055
1 parent 4e82a8b commit eeb0537

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

dev/docker/Dockerfile

+12-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,15 @@
2020
FROM maven:3.6.3-jdk-8
2121

2222
RUN apt-get update
23-
RUN apt-get install -y g++ cmake autoconf libcppunit-dev libtool openssl libssl-dev libsasl2-modules-gssapi-mit libsasl2-modules libsasl2-dev
23+
RUN apt-get install -y \
24+
g++ \
25+
cmake \
26+
autoconf \
27+
pkg-config \
28+
libcppunit-dev \
29+
libtool \
30+
openssl \
31+
libssl-dev \
32+
libsasl2-modules-gssapi-mit \
33+
libsasl2-modules \
34+
libsasl2-dev

0 commit comments

Comments
 (0)