sha256:79aa67f4223cb9ca0719743632e9b81f87c8aa4a3bf071c95a8a47b8ba09721f
OS/ARCH
linux/amd64
Compressed size
306.36 MB
Last pushed
about 1 month by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:3f26d9417c59a5d2b7341995ce421932934fc17d62e9581b07e0cdc38d3bd590
19
RUN /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 4D1BB29D63D98E422B2113B19334A25F8507EFA5 99DB70FAE1D7CE227FB6488205B555B38483C65D 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1; gpg --batch --export --armor 4D1BB29D63D98E422B2113B19334A25F8507EFA5 > ${GNUPGHOME}/PERCONA-PACKAGING-KEY; gpg --batch --export --armor 99DB70FAE1D7CE227FB6488205B555B38483C65D > ${GNUPGHOME}/RPM-GPG-KEY-centosofficial; gpg --batch --export --armor 94E279EB8D8F25B21810ADF121EA45AB2F86D6A1 > ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; rpmkeys --import ${GNUPGHOME}/PERCONA-PACKAGING-KEY ${GNUPGHOME}/RPM-GPG-KEY-centosofficial ${GNUPGHOME}/RPM-GPG-KEY-EPEL-9; curl -Lf -o /tmp/percona-release.rpm https://repo.percona.com/yum/percona-release-latest.noarch.rpm; rpmkeys --checksig /tmp/percona-release.rpm; microdnf install -y findutils; rpm -i /tmp/percona-release.rpm; rm -rf "$GNUPGHOME" /tmp/percona-release.rpm; rpm --import /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY # buildkit
9 MB
20
ENV PSMDB_VERSION=8.0.26-11
0 B
21
ENV OS_VER=el9
0 B
22
ENV FULL_PERCONA_VERSION=8.0.26-11.el9
0 B
23
ENV K8S_TOOLS_VERSION=0.5.0
0 B
24
ENV PSMDB_REPO=testing
0 B
25
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
0 B
26
ENV CALL_HOME_DOWNLOAD_SHA256=5e84d2f1a5d57f44c46e6a1f16794d649d3de09fe8021f0294bc321c89e51068
0 B
27
ENV CALL_HOME_VERSION=0.1
0 B
28
ARG PERCONA_TELEMETRY_DISABLE=1
0 B
29
RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c set -ex; percona-release enable psmdb-80 ${PSMDB_REPO}; microdnf -y update libgcrypt; microdnf -y install percona-server-mongodb-mongos-${FULL_PERCONA_VERSION} percona-server-mongodb-tools-${FULL_PERCONA_VERSION} percona-mongodb-mongosh numactl numactl-libs procps-ng jq tar oniguruma cyrus-sasl-gssapi cyrus-sasl-plain krb5-libs policycoreutils; curl -Lf -o /tmp/Percona-Server-MongoDB-server.rpm http://repo.percona.com/psmdb-80/yum/${PSMDB_REPO}/9/RPMS/x86_64/percona-server-mongodb-server-${FULL_PERCONA_VERSION}.x86_64.rpm; rpmkeys --checksig /tmp/Percona-Server-MongoDB-server.rpm; rpm -iv /tmp/Percona-Server-MongoDB-server.rpm --nodeps; rm -rf /tmp/Percona-Server-MongoDB-server.rpm; microdnf clean all; rm -rf /var/cache/dnf /var/cache/yum /data/db && mkdir -p /data/db; chown -R 1001:0 /data/db # buildkit
270.58 MB
30
RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c useradd -u 1001 -r -g 0 -m -s /sbin/nologin -c "Default Application User" mongodb; chmod g+rwx /var/log/mongo; chown :0 /var/log/mongo # buildkit
1.66 KB
31
COPY LICENSE /licenses/LICENSE.Dockerfile # buildkit
4.07 KB
32
RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c cp /usr/share/doc/percona-server-mongodb-server/LICENSE-Community.txt /licenses/LICENSE.Percona-Server-for-MongoDB # buildkit
10.58 KB
33
ENV GOSU_VERSION=1.11
0 B
34
RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c set -eux; curl -Lf -o /usr/bin/gosu https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64; curl -Lf -o /usr/bin/gosu.asc https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64.asc; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/bin/gosu.asc /usr/bin/gosu; rm -rf "$GNUPGHOME" /usr/bin/gosu.asc; chmod +x /usr/bin/gosu; curl -f -o /licenses/LICENSE.gosu https://raw.githubusercontent.com/tianon/gosu/${GOSU_VERSION}/LICENSE # buildkit
914.52 KB
35
VOLUME [/data/db]
0 B
36
RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c set -ex; curl -fSL https://cdnjs.cloudflare.com/ajax/libs/js-yaml/4.1.0/js-yaml.min.js -o /js-yaml.js; echo "45dc3dd03dc07a06705a2c2989b8c7f709013f04bd5386e3279d4e447f07ebd7 /js-yaml.js" | sha256sum -c - # buildkit
13.21 KB
37
RUN |1 PERCONA_TELEMETRY_DISABLE=1 /bin/sh -c set -eux; curl -fL "https://github.com/percona/telemetry-agent/archive/refs/tags/phase-$CALL_HOME_VERSION.tar.gz" -o "phase-$CALL_HOME_VERSION.tar.gz"; echo "$CALL_HOME_DOWNLOAD_SHA256 phase-$CALL_HOME_VERSION.tar.gz" | sha256sum --strict --check; tar -xvf phase-$CALL_HOME_VERSION.tar.gz; cp telemetry-agent-phase-$CALL_HOME_VERSION/call-home.sh .; rm -rf telemetry-agent-phase-$CALL_HOME_VERSION phase-$CALL_HOME_VERSION.tar.gz; chmod a+rx /call-home.sh; mkdir -p /usr/local/percona; chown 1001:1001 /usr/local/percona # buildkit
3.96 KB
38
ENV CALL_HOME_OPTIONAL_PARAMS= -s el9
0 B
39
COPY ps-entry-dockerhub.sh /entrypoint.sh # buildkit
4.97 KB
40
ENTRYPOINT ["/entrypoint.sh"]
0 B
41
EXPOSE map[27017/tcp:{}]
0 B
42
USER 1001
0 B
43
CMD ["mongod"]
0 B