Skip to content

Commit 23a2382

Browse files
committed
get boost version from diff location
1 parent ecddb6d commit 23a2382

File tree

1 file changed

+6
-3
lines changed
  • instrumentation/otel-webserver-module/docker/centos7

1 file changed

+6
-3
lines changed

instrumentation/otel-webserver-module/docker/centos7/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,15 @@ RUN git clone https://github.com/grpc/grpc \
116116
RUN mkdir -p dependencies
117117

118118
# install boost version 1.75.0
119-
RUN wget https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/${BOOST_FILENAME}_rc1.tar.gz \
120-
&& tar -xvf ${BOOST_FILENAME}_rc1.tar.gz \
119+
#RUN wget https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/${BOOST_FILENAME}_rc1.tar.gz \
120+
RUN wget https://archives.boost.io/release/${BOOST_VERSION}/source/${BOOST_FILENAME}.tar.gz \
121+
# && tar -xvf ${BOOST_FILENAME}_rc1.tar.gz \
122+
&& tar -xvf ${BOOST_FILENAME}.tar.gz \
121123
&& cd ${BOOST_FILENAME} \
122124
&& ./bootstrap.sh --with-libraries=filesystem,system --prefix=/dependencies/boost/${BOOST_VERSION}/ \
123125
&& ./b2 install define=BOOST_ERROR_CODE_HEADER_ONLY link=static threading=multi cxxflags="-fvisibility=hidden -fPIC" cflags="-fvisibility=hidden -fPIC" \
124-
&& cd .. && rm -rf ${BOOST_FILENAME} && rm ${BOOST_FILENAME}_rc1.tar.gz
126+
# && cd .. && rm -rf ${BOOST_FILENAME} && rm ${BOOST_FILENAME}_rc1.tar.gz
127+
&& cd .. && rm -rf ${BOOST_FILENAME} && rm ${BOOST_FILENAME}.tar.gz
125128

126129
#install Apr
127130
RUN mkdir -p dependencies/apr/${APR_VERSION} \

0 commit comments

Comments
 (0)