From ce1ad6eab76338f4ff95d1f3f047c80070d35873 Mon Sep 17 00:00:00 2001 From: 0x1def <0x1def@flakybit.net> Date: Fri, 26 Apr 2024 18:52:28 +0300 Subject: [PATCH] Version bump --- Dockerfile | 8 ++++---- README.md | 15 ++++++++++----- prebuildfs/opt/bitnami/.bitnami_components.json | 8 ++++---- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6ded864..95b2f5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,10 +21,10 @@ RUN install_packages ca-certificates curl libbrotli1 libcom-err2 libcurl4 libffi RUN mkdir -p /tmp/bitnami/pkg/cache/ ; \ cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ - "mongodb-shell-2.0.2-0-linux-${OS_ARCH}-${OS_FLAVOUR}" \ - "yq-4.35.2-3-linux-${OS_ARCH}-${OS_FLAVOUR}" \ - "wait-for-port-1.0.7-2-linux-${OS_ARCH}-${OS_FLAVOUR}" \ - "render-template-1.0.6-2-linux-${OS_ARCH}-${OS_FLAVOUR}" \ + "mongodb-shell-2.2.5-0-linux-${OS_ARCH}-${OS_FLAVOUR}" \ + "yq-4.43.1-1-linux-${OS_ARCH}-${OS_FLAVOUR}" \ + "wait-for-port-1.0.7-11-linux-${OS_ARCH}-${OS_FLAVOUR}" \ + "render-template-1.0.6-11-linux-${OS_ARCH}-${OS_FLAVOUR}" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ diff --git a/README.md b/README.md index 3103be5..1f1b10d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ docker pull harbor.flakybit.net/mongodb/server:latest ## Building binaries -Binaries are available [here](https://dist.flakybit.net/mongodb/) and were built against Debian 12: +Binaries are available [here](https://dist.flakybit.net/mongodb/) and were built against [Debian 12](https://hub.docker.com/_/debian): ``` apt update apt install -y build-essential @@ -34,14 +34,16 @@ apt install -y git git clone --depth 1 --branch https://github.com/mongodb/mongo.git cd mongo +apt install -y wget +wget https://gitea.flakybit.net/fb/mongodb-docker/raw/branch/main/0001-Compile-without-debug-symbols.patch +patch < 0001-Compile-without-debug-symbols.patch + python3 -m venv .venv --prompt mongo source .venv/bin/activate python3 -m pip install -r etc/pip/compile-requirements.txt -patch < 0001-Compile-without-debug-symbols.patch - python3 buildscripts/scons.py install-servers --config=force \ - -j16 \ + -j12 \ --opt=on \ --release \ --dbg=off \ @@ -49,7 +51,10 @@ python3 buildscripts/scons.py install-servers --config=force \ --disable-warnings-as-errors \ --variables-files=etc/scons/developer_versions.vars \ --experimental-optimization=-sandybridge - + +apt install -y tar +cd build/install/bin/ +tar -cvzf mongo.tar.gz mongod mongos ``` ## Links diff --git a/prebuildfs/opt/bitnami/.bitnami_components.json b/prebuildfs/opt/bitnami/.bitnami_components.json index 9943fab..bcc0f01 100644 --- a/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,24 +3,24 @@ "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "2.1.5-0" + "version": "2.2.5-0" }, "render-template": { "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "1.0.6-9" + "version": "1.0.6-11" }, "wait-for-port": { "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "1.0.7-8" + "version": "1.0.7-11" }, "yq": { "arch": "amd64", "distro": "debian-12", "type": "NAMI", - "version": "4.41.1-0" + "version": "4.43.1-1" } } \ No newline at end of file