Thanks. I am interested in running tests. Mostly to understand some of the implementation aspects for the work I am doing to documents patterns of distributed systems at https://martinfowler.com/articles/patterns-of-distributed-systems/
Docker image build with following Dockerfile builds the source code perfectly fine. If I use Ubuntu20.04 base image instead of Ubuntu18.04, I face issues. But thats fine, I can continue to use Ubuntu18.04
Having this kind of Docker images to build will be useful for new developers. Something that scylladb folks do.
Just curious what is the machine configurations developers use to work with mongodb source code?
Thinkpad P1 gen2 does not seem to be good enough. Any recommendations will be helpful.
FROM ubuntu:18.04
RUN apt update
RUN apt install software-properties-common -y
RUN apt update
RUN apt install git -y
RUN apt install python3.8 -y
RUN apt install python3-pip -y
RUN apt install libpython3.8-dev -y
RUN ln -S -f /usr/bin/python3.8 /usr/bin/python3
RUN apt install g+±8 -y
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g+±8
RUN apt-get install libssl-dev -y
RUN apt-get install -y liblzma-dev
RUN apt-get install libcurl4-openssl-dev -y
Copy and setup python dependencies as an optimization.
COPY pip /pip
RUN python3 -m pip install -r /pip/dev-requirements.txt
VOLUME build
CMD ["/bin/bash"]