Last active
January 23, 2023 15:53
-
-
Save nyx-rattapoom/717f0c61868a251e346c29fce73e647d to your computer and use it in GitHub Desktop.
Build mongodb 3.2 armv7l [multiarch/ubuntu-core:armhf-xenial]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker run -it --rm multiarch/ubuntu-core:armhf-xenial /bin/bash | |
apt update | |
apt upgrade -y | |
apt install wget scons build-essential python-pymongo python-dev libssl-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev -y | |
mkdir builder | |
cd /builder | |
wget https://fastdl.mongodb.org/src/mongodb-src-r3.2.20.tar.gz | |
tar xvf mongodb-src-r3.2.20.tar.gz | |
cd mongodb-src-r3.2.20 | |
cd src/third_party/mozjs-38/ | |
chmod +x get_sources.sh | |
./get_sources.sh | |
chmod +x gen-config.sh | |
export SHELL=/bin/sh | |
./gen-config.sh arm linux | |
cd /builder/mongodb-src-r3.2.20 | |
scons mongod -j4 --ssl --wiredtiger=off --mmapv1=on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment