Skip to content

Commit

Permalink
PSMDB fix build on el9 aarch64 (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
olexandr-havryliak authored Mar 6, 2024
1 parent ec1ec0f commit 0f7ead7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion regression-tests/build_image/Dockerfile_el9_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN yum -y install gcc-toolset-12 python3 python3-devel lld python-unversioned-c
git clone https://github.com/percona/percona-server-mongodb.git && \
cd percona-server-mongodb/ && \
git checkout $branch && git pull && \
source /opt/rh/gcc-toolset-12/enable && \
pip3 install --user -r etc/pip/dev-requirements.txt && \
rm -rf /opt/percona-server-mongodb/.git && mkdir -p /data/db
RUN source /opt/rh/gcc-toolset-12/enable && \
Expand All @@ -43,12 +44,13 @@ ARG psm_ver=7.0.0
ARG psm_release=0
ARG branch=v7.0
WORKDIR /opt
RUN yum -y install python3 python3-devel python-unversioned-command git curl \
RUN yum -y install gcc-toolset-12 python3 python3-devel python-unversioned-command git curl \
openssl-devel openldap-devel krb5-devel libcurl-devel \
cyrus-sasl-devel bzip2-devel zlib-devel lz4-devel xz-devel e2fsprogs-devel && \
git clone https://github.com/percona/percona-server-mongodb.git && \
cd percona-server-mongodb/ && \
git checkout $branch && git pull && \
source /opt/rh/gcc-toolset-12/enable && \
pip3 install --user -r etc/pip/dev-requirements.txt && \
rm -rf /opt/percona-server-mongodb/.git && mkdir -p /data/db && mkdir -p /var/lib/mongo && \
useradd -u 1001 -r -g 0 -m -s /sbin/nologin \
Expand Down

0 comments on commit 0f7ead7

Please sign in to comment.