You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2022/10/11 21:19:33 UTC

[pulsar-client-cpp] branch main updated: Use Alpine 3.12 to build APKs (#39)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 176c8d7  Use Alpine 3.12 to build APKs (#39)
176c8d7 is described below

commit 176c8d75384c6229c76504eeecfa77758b88577a
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Tue Oct 11 14:19:28 2022 -0700

    Use Alpine 3.12 to build APKs (#39)
---
 pkg/apk/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/apk/Dockerfile b/pkg/apk/Dockerfile
index 2a3d3a0..182c7d7 100644
--- a/pkg/apk/Dockerfile
+++ b/pkg/apk/Dockerfile
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-FROM alpine:3.16
+FROM alpine:3.12
 
 ARG PLATFORM
 
@@ -48,7 +48,7 @@ RUN BOOST_VERSION=$(dep-version.py boost) && \
     tar xfz boost_${BOOST_VERSION_UNDESRSCORE}.tar.gz && \
     cd boost_${BOOST_VERSION_UNDESRSCORE} && \
     ./bootstrap.sh --with-libraries=regex && \
-    ./b2 address-model=64 cxxflags=-fPIC link=static threading=multi variant=release install && \
+    ./b2 -d0 address-model=64 cxxflags=-fPIC link=static threading=multi variant=release install && \
     rm -rf /boost_${BOOST_VERSION_UNDESRSCORE}.tar.gz /boost_${BOOST_VERSION_UNDESRSCORE}
 
 # Download and compile protobuf