Docker updated dependencies cmake boost sodium cppzmq udev protobuf zmq

This commit is contained in:
HomDX 2019-08-05 00:30:35 +03:00
parent 8adde33e01
commit a63e212f32

View file

@ -29,9 +29,9 @@ ENV CFLAGS='-fPIC'
ENV CXXFLAGS='-fPIC' ENV CXXFLAGS='-fPIC'
#Cmake #Cmake
ARG CMAKE_VERSION=3.14.0 ARG CMAKE_VERSION=3.14.6
ARG CMAKE_VERSION_DOT=v3.14 ARG CMAKE_VERSION_DOT=v3.14
ARG CMAKE_HASH=aa76ba67b3c2af1946701f847073f4652af5cbd9f141f221c97af99127e75502 ARG CMAKE_HASH=4e8ea11cabe459308671b476469eace1622e770317a15951d7b55a82ccaaccb9
RUN set -ex \ RUN set -ex \
&& curl -s -O https://cmake.org/files/${CMAKE_VERSION_DOT}/cmake-${CMAKE_VERSION}.tar.gz \ && curl -s -O https://cmake.org/files/${CMAKE_VERSION_DOT}/cmake-${CMAKE_VERSION}.tar.gz \
&& echo "${CMAKE_HASH} cmake-${CMAKE_VERSION}.tar.gz" | sha256sum -c \ && echo "${CMAKE_HASH} cmake-${CMAKE_VERSION}.tar.gz" | sha256sum -c \
@ -42,9 +42,9 @@ RUN set -ex \
&& make install && make install
## Boost ## Boost
ARG BOOST_VERSION=1_69_0 ARG BOOST_VERSION=1_70_0
ARG BOOST_VERSION_DOT=1.69.0 ARG BOOST_VERSION_DOT=1.70.0
ARG BOOST_HASH=8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406 ARG BOOST_HASH=430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778
RUN set -ex \ RUN set -ex \
&& curl -s -L -o boost_${BOOST_VERSION}.tar.bz2 https://dl.bintray.com/boostorg/release/${BOOST_VERSION_DOT}/source/boost_${BOOST_VERSION}.tar.bz2 \ && curl -s -L -o boost_${BOOST_VERSION}.tar.bz2 https://dl.bintray.com/boostorg/release/${BOOST_VERSION_DOT}/source/boost_${BOOST_VERSION}.tar.bz2 \
&& echo "${BOOST_HASH} boost_${BOOST_VERSION}.tar.bz2" | sha256sum -c \ && echo "${BOOST_HASH} boost_${BOOST_VERSION}.tar.bz2" | sha256sum -c \
@ -69,8 +69,8 @@ RUN set -ex \
ENV OPENSSL_ROOT_DIR=/usr/local/openssl-${OPENSSL_VERSION} ENV OPENSSL_ROOT_DIR=/usr/local/openssl-${OPENSSL_VERSION}
# ZMQ # ZMQ
ARG ZMQ_VERSION=v4.3.1 ARG ZMQ_VERSION=v4.3.2
ARG ZMQ_HASH=2cb1240db64ce1ea299e00474c646a2453a8435b ARG ZMQ_HASH=a84ffa12b2eb3569ced199660bac5ad128bff1f0
RUN set -ex \ RUN set -ex \
&& git clone https://github.com/zeromq/libzmq.git -b ${ZMQ_VERSION} \ && git clone https://github.com/zeromq/libzmq.git -b ${ZMQ_VERSION} \
&& cd libzmq \ && cd libzmq \
@ -82,8 +82,8 @@ RUN set -ex \
&& ldconfig && ldconfig
# zmq.hpp # zmq.hpp
ARG CPPZMQ_VERSION=v4.3.0 ARG CPPZMQ_VERSION=v4.4.1
ARG CPPZMQ_HASH=213da0b04ae3b4d846c9abc46bab87f86bfb9cf4 ARG CPPZMQ_HASH=f5b36e563598d48fcc0d82e589d3596afef945ae
RUN set -ex \ RUN set -ex \
&& git clone https://github.com/zeromq/cppzmq.git -b ${CPPZMQ_VERSION} \ && git clone https://github.com/zeromq/cppzmq.git -b ${CPPZMQ_VERSION} \
&& cd cppzmq \ && cd cppzmq \
@ -103,8 +103,8 @@ RUN set -ex \
&& make install && make install
# Sodium # Sodium
ARG SODIUM_VERSION=1.0.17 ARG SODIUM_VERSION=1.0.18
ARG SODIUM_HASH=b732443c442239c2e0184820e9b23cca0de0828c ARG SODIUM_HASH=4f5e89fa84ce1d178a6765b8b46f2b6f91216677
RUN set -ex \ RUN set -ex \
&& git clone https://github.com/jedisct1/libsodium.git -b ${SODIUM_VERSION} \ && git clone https://github.com/jedisct1/libsodium.git -b ${SODIUM_VERSION} \
&& cd libsodium \ && cd libsodium \
@ -116,8 +116,8 @@ RUN set -ex \
&& make install && make install
# Udev # Udev
ARG UDEV_VERSION=v3.2.7 ARG UDEV_VERSION=v3.2.8
ARG UDEV_HASH=4758e346a14126fc3a964de5831e411c27ebe487 ARG UDEV_HASH=d69f3f28348123ab7fa0ebac63ec2fd16800c5e0
RUN set -ex \ RUN set -ex \
&& git clone https://github.com/gentoo/eudev -b ${UDEV_VERSION} \ && git clone https://github.com/gentoo/eudev -b ${UDEV_VERSION} \
&& cd eudev \ && cd eudev \
@ -152,8 +152,8 @@ RUN set -ex \
&& make install && make install
# Protobuf # Protobuf
ARG PROTOBUF_VERSION=v3.7.0 ARG PROTOBUF_VERSION=v3.7.1
ARG PROTOBUF_HASH=582743bf40c5d3639a70f98f183914a2c0cd0680 ARG PROTOBUF_HASH=6973c3a5041636c1d8dc5f7f6c8c1f3c15bc63d6
RUN set -ex \ RUN set -ex \
&& git clone https://github.com/protocolbuffers/protobuf -b ${PROTOBUF_VERSION} \ && git clone https://github.com/protocolbuffers/protobuf -b ${PROTOBUF_VERSION} \
&& cd protobuf \ && cd protobuf \