Compare commits

...
Sign in to create a new pull request.

9 commits

Author SHA1 Message Date
Adam Miller
701c7fb37d Bump RELEASE for automatic rebuild 2017-09-21 10:24:14 -05:00
Adam Miller
c6fd373251 Bump RELEASE for automatic rebuild 2017-08-24 15:38:32 -05:00
Adam Miller
1140ed4c5d Bump RELEASE for automatic rebuild 2017-07-06 14:04:48 -05:00
Adam Miller
ae42558263 Bump RELEASE for automatic rebuild 2017-06-27 10:45:32 -05:00
Adam Miller
ab236445a8 Bump RELEASE for automatic rebuild 2017-06-14 16:25:47 -05:00
Adam Miller
366275c306 Bump RELEASE for automatic rebuild 2017-06-08 22:21:34 -05:00
Adam Miller
148ad6a236 Bump RELEASE for automatic rebuild 2017-05-23 16:15:38 -05:00
Marek Skalický
92f6a3eb87 Use python3 2017-05-12 11:46:15 +02:00
Marek Skalický
69e4f48c6a Don't have space in label assignment 2017-05-10 14:08:10 +02:00
3 changed files with 5 additions and 8 deletions

View file

@ -1,12 +1,9 @@
FROM registry.fedoraproject.org/fedora:25
LABEL MAINTAINER SoftwareCollections.org <sclorg@redhat.com>
ENV NAME=mongodb \
VERSION=0 \
RELEASE=1 \
ARCH=x86_64
ENV NAME=mongodb VERSION=0 RELEASE=8 ARCH=x86_64
LABEL com.redhat.component = "$NAME" \
LABEL com.redhat.component="$NAME" \
name="$FGC/$NAME" \
version="$VERSION" \
release="$RELEASE.$DISTTAG" \
@ -29,7 +26,7 @@ EXPOSE 27017
ENTRYPOINT ["container-entrypoint"]
CMD ["run-mongod"]
RUN INSTALL_PKGS="bind-utils gettext iproute rsync tar findutils python mongodb mongodb-server mongo-tools" && \
RUN INSTALL_PKGS="bind-utils gettext iproute rsync tar findutils python3 mongodb mongodb-server mongo-tools" && \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
dnf clean all

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
"""
Script for parsing cgroup information

View file

@ -190,7 +190,7 @@ function setup_wiredtiger_cache() {
return 0;
fi
cache_size=$(python -c "min=1; limit=int(($MEMORY_LIMIT_IN_BYTES / pow(2,30) - 1) * 0.6); print( min if limit < min else limit)")
cache_size=$(python3 -c "min=1; limit=int(($MEMORY_LIMIT_IN_BYTES / pow(2,30) - 1) * 0.6); print( min if limit < min else limit)")
echo "storage.wiredTiger.engineConfig.cacheSizeGB: ${cache_size}" >> ${config_file}
info "wiredTiger cacheSizeGB set to ${cache_size}"