0

Version bump

This commit is contained in:
0x1def 2024-04-26 18:52:28 +03:00
parent ff61b4d433
commit ce1ad6eab7
Signed by: 0x1def
GPG Key ID: D7D7D9B5E72B6AA2
3 changed files with 18 additions and 13 deletions

View File

@ -21,10 +21,10 @@ RUN install_packages ca-certificates curl libbrotli1 libcom-err2 libcurl4 libffi
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; \ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; \
cd /tmp/bitnami/pkg/cache/ ; \ cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \ COMPONENTS=( \
"mongodb-shell-2.0.2-0-linux-${OS_ARCH}-${OS_FLAVOUR}" \ "mongodb-shell-2.2.5-0-linux-${OS_ARCH}-${OS_FLAVOUR}" \
"yq-4.35.2-3-linux-${OS_ARCH}-${OS_FLAVOUR}" \ "yq-4.43.1-1-linux-${OS_ARCH}-${OS_FLAVOUR}" \
"wait-for-port-1.0.7-2-linux-${OS_ARCH}-${OS_FLAVOUR}" \ "wait-for-port-1.0.7-11-linux-${OS_ARCH}-${OS_FLAVOUR}" \
"render-template-1.0.6-2-linux-${OS_ARCH}-${OS_FLAVOUR}" \ "render-template-1.0.6-11-linux-${OS_ARCH}-${OS_FLAVOUR}" \
) ; \ ) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \ for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \

View File

@ -20,7 +20,7 @@ docker pull harbor.flakybit.net/mongodb/server:latest
## Building binaries ## 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 update
apt install -y build-essential apt install -y build-essential
@ -34,14 +34,16 @@ apt install -y git
git clone --depth 1 --branch <version> https://github.com/mongodb/mongo.git git clone --depth 1 --branch <version> https://github.com/mongodb/mongo.git
cd mongo 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 python3 -m venv .venv --prompt mongo
source .venv/bin/activate source .venv/bin/activate
python3 -m pip install -r etc/pip/compile-requirements.txt 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 \ python3 buildscripts/scons.py install-servers --config=force \
-j16 \ -j12 \
--opt=on \ --opt=on \
--release \ --release \
--dbg=off \ --dbg=off \
@ -49,7 +51,10 @@ python3 buildscripts/scons.py install-servers --config=force \
--disable-warnings-as-errors \ --disable-warnings-as-errors \
--variables-files=etc/scons/developer_versions.vars \ --variables-files=etc/scons/developer_versions.vars \
--experimental-optimization=-sandybridge --experimental-optimization=-sandybridge
apt install -y tar
cd build/install/bin/
tar -cvzf mongo.tar.gz mongod mongos
``` ```
## Links ## Links

View File

@ -3,24 +3,24 @@
"arch": "amd64", "arch": "amd64",
"distro": "debian-12", "distro": "debian-12",
"type": "NAMI", "type": "NAMI",
"version": "2.1.5-0" "version": "2.2.5-0"
}, },
"render-template": { "render-template": {
"arch": "amd64", "arch": "amd64",
"distro": "debian-12", "distro": "debian-12",
"type": "NAMI", "type": "NAMI",
"version": "1.0.6-9" "version": "1.0.6-11"
}, },
"wait-for-port": { "wait-for-port": {
"arch": "amd64", "arch": "amd64",
"distro": "debian-12", "distro": "debian-12",
"type": "NAMI", "type": "NAMI",
"version": "1.0.7-8" "version": "1.0.7-11"
}, },
"yq": { "yq": {
"arch": "amd64", "arch": "amd64",
"distro": "debian-12", "distro": "debian-12",
"type": "NAMI", "type": "NAMI",
"version": "4.41.1-0" "version": "4.43.1-1"
} }
} }