Boost.Python is a library in the Boost family of C++ libraries that helps interface between C++ and Python.
CMake is a build tool generator that allows us to write cross-platform code and better manage our dependencies.
Apache Arrow is a columnar memory format for efficient analytic operations. We build both Arrow C++ and pyarrow
, which depends on the C++ version, from source. See the minimal build example for more information.
- Download and unzip this gist.
git clone https://gist.github.com/pi-guy-in-the-sky/b3d3501b4a14b8d5c44f76f7338c96a3 boost-python-demo
cd boost-python-demo
- Create a Docker image using the Dockerfile in the directory:
docker build -t boost-python-demo .
- Run a Docker container from this image:
docker run --rm boost-python-demo
- It should print "Hello world!"