Created
December 6, 2021 02:57
-
-
Save nadavrot/b17ac84c1ef88b69deade029151303a0 to your computer and use it in GitHub Desktop.
Docker file to build Folly
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:21.04 | |
# We install some useful packages. | |
RUN apt-get update -qq | |
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata | |
RUN apt-get install -y vim clang-format sudo python3 wget cmake g++ | |
RUN apt-get install -y git clang linux-tools-generic ninja-build lldb zip curl | |
RUN apt-get install -y firefox | |
RUN apt-get install -y python3-pip | |
RUN apt-get install -y libssl-dev | |
RUN apt-get install -y g++ cmake libboost-all-dev libevent-dev libdouble-conversion-dev libgoogle-glog-dev libgflags-dev libiberty-dev liblz4-dev liblzma-dev libsnappy-dev make zlib1g-dev binutils-dev libjemalloc-dev libssl-dev pkg-config libunwind-dev | |
RUN apt-get install -y libgmock-dev libfmt-dev libzstd-dev libsodium-dev | |
# Copy the workspace | |
WORKDIR /workspace | |
COPY folly/ /workspace/folly | |
# Build folly: | |
WORKDIR /workspace/folly | |
RUN mkdir _build && cd _build && cmake -G Ninja -DBUILD_TESTS=ON .. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment