Skip to content

Instantly share code, notes, and snippets.

@aliakseimakarau
Forked from yuvalif/Dockerfile
Created January 26, 2023 12:33
Show Gist options
  • Save aliakseimakarau/c9d3a93fb074a58d95e3871facfed3c2 to your computer and use it in GitHub Desktop.
Save aliakseimakarau/c9d3a93fb074a58d95e3871facfed3c2 to your computer and use it in GitHub Desktop.
build ceph master branch in ubuntu18
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"]
#!/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