We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2a11b4 commit 49b06feCopy full SHA for 49b06fe
pmm_psmdb-pbm_setup/Dockerfile
@@ -67,7 +67,11 @@ RUN if [[ "$PMM_CLIENT_VERSION" == http* ]]; then \
67
yum update --refresh -y && \
68
yum -y install pmm-client ; \
69
else \
70
- yum -y install pmm-client-${PMM_CLIENT_VERSION}-6.el9 ; \
+ if [[ "$PMM_CLIENT_VERSION" =~ ^([3-9])\.([1-9][0-9]*)\.([0-9]+)$ ]]; then \
71
+ yum -y install pmm-client-${PMM_CLIENT_VERSION}-7.el9 ; \
72
+ else \
73
+ yum -y install pmm-client-${PMM_CLIENT_VERSION}-6.el9 ; \
74
+ fi \
75
fi && \
76
sed 's/Type=forking/#Type=forking/' -i /usr/lib/systemd/system/mongod.service && \
77
systemctl enable mongod && \
0 commit comments