W dniu 22.09.2017 o 18:19, Ted Yu pisze:
On my docker VM, I found the following:

/usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
/usr/lib/x86_64-linux-gnu/libsasl2.so.2
/usr/local/lib/libsasl2.so.3.0.0
/usr/local/lib/libsasl2.so.3

In my docker:
root@securecluster:/usr/src/hbase/hbase-native-client# whereis  libsasl2
libsasl2: /usr/local/lib/libsasl2.so /usr/local/lib/libsasl2.la
root@securecluster:/usr/src/hbase/hbase-native-client# ls /usr/local/lib/libsasl*
/usr/local/lib/libsasl2.la  /usr/local/lib/libsasl2.so.3
/usr/local/lib/libsasl2.so  /usr/local/lib/libsasl2.so.3.0.0
root@securecluster:/usr/src/hbase/hbase-native-client#


Take a look at the first RUN command in:

hbase-native-client/docker-files/Dockerfile

FROM pjameson/buck-folly-watchman:20160511

ARG CC=/usr/bin/gcc-5
ARG CXX=/usr/bin/g++-5
ARG CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -g -fno-omit-frame-pointer -O2 -pthread" ARG CXXFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -g -fno-omit-frame-pointer -O2 -pthread"

ENV JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64/"

RUN wget ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz ; \
    tar zxf cyrus-sasl-2.1.26.tar.gz ; \
    cd cyrus-sasl-2.1.26 ; \
    ./configure ; \
    make ; \
    make install ;\
    cp /usr/local/lib/sasl2/* /usr/lib/sasl2/


Similar to this RUN I must do outside docker?

Reply via email to