Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSMDB fix build on el9 aarch64 #127

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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