Skip to content

Commit

Permalink
PSMDB. Add flag for PRO builds (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandraromanchenko authored Aug 22, 2024
1 parent 7955157 commit f23b47e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion regression-tests/build_image/Dockerfile_debian12_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ARG mongo_tools_tag=100.4.1
ARG jemalloc_tag=psmdb-3.2.11-3.1
ARG repo=https://github.com/percona/percona-server-mongodb.git
ARG special_targets="dbtest mongo"
ARG pro=""
WORKDIR /opt
RUN apt update && apt install -y python3 python3-dev python3-pip cmake curl libssl-dev libldap2-dev libkrb5-dev \
libcurl4-openssl-dev libsasl2-dev liblz4-dev libpcap-dev libbz2-dev libsnappy-dev \
Expand All @@ -29,7 +30,7 @@ RUN cd /opt && git clone https://github.com/aws/aws-sdk-cpp.git && \
cmake .. -DCMAKE_C_FLAGS="$CMAKE_C_FLAGS" -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS" -DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="s3;transfer" -DBUILD_SHARED_LIBS=OFF -DMINIMIZE_SIZE=ON -DCMAKE_INSTALL_PREFIX="$AWS_LIBS" && \
make install && cd /opt && rm -rf aws-sdk-cpp
RUN cd /opt/percona-server-mongodb/ && \
buildscripts/scons.py MONGO_VERSION=$psm_ver -j8 --disable-warnings-as-errors --ssl --opt=on --use-sasl-client \
buildscripts/scons.py MONGO_VERSION=$psm_ver -j8 --disable-warnings-as-errors --ssl --opt=on --use-sasl-client $pro \
--wiredtiger --audit --inmemory --hotbackup CPPPATH="$AWS_LIBS/include" LIBPATH="$AWS_LIBS/lib" \
install-mongod install-mongos install-mongo install-dbtest build/install/bin/mongobridge build/install/bin/wt
RUN strip --strip-debug /opt/percona-server-mongodb/build/install/bin/mongo && \
Expand Down

0 comments on commit f23b47e

Please sign in to comment.