Created
December 26, 2024 03:08
-
-
Save dkorolev/993889854a48bbf81429498601c3137c to your computer and use it in GitHub Desktop.
A `Dockerfile` to build FoundationDB from source.
This file contains hidden or 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:latest | |
RUN apt update | |
RUN apt-get upgrade -y | |
RUN apt-get install -y autoconf build-essential git libjemalloc-dev mono-complete liblz4-dev cmake libssl-dev ninja-build zlib1g-dev | |
RUN git clone https://github.com/apple/foundationdb | |
# Yes, I've tried `7.3` too, including the `-clean` one. | |
RUN (cd foundationdb; git switch release-7.2) | |
RUN (cd foundationdb; mkdir build) | |
RUN (cd foundationdb/build; cmake -G Ninja ..) | |
RUN (cd foundationdb/build; cmake --build .) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment