-
-
Save aliakseimakarau/c9d3a93fb074a58d95e3871facfed3c2 to your computer and use it in GitHub Desktop.
build ceph master branch in ubuntu18
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
FROM ubuntu:18.04 | |
RUN apt -y update | |
RUN apt -y install git | |
RUN git clone https://github.com/ceph/ceph.git | |
COPY ./entrypoint.sh /entrypoint.sh | |
RUN chmod +x /entrypoint.sh | |
CMD ["./entrypoint.sh"] |
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
#!/bin/bash | |
cd ceph || exit | |
git pull | |
./install-deps.sh || exit | |
./do_cmake.sh -DBOOST_J="$(nproc)" -DWITH_MGR_DASHBOARD_FRONTEND=OFF -DWITH_SPDK=OFF -DWITH_DPDK=OFF -DWITH_CEPHFS=OFF -DWITH_CCACHE=OFF -DALLOCATOR=libc -DCMAKE_BUILD_TYPE=Debug | |
cd build || exit | |
make -j "$(nproc)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment