presto-native-execution/scripts/dockerfiles/README.md
📝 Note: Please post in Presto Slack if you have any questions
There are two kinds of Dockerfiles:
These Dockerfiles install all the dependencies including those needed for testing. A list of dependencies can be found here. These dependencies are always built in Release mode. The Dependency Image needs to be built only when some dependency is updated. Prestissimo dependencies change infrequently.
This Dockerfile builds Prestissimo on top of the dependency image. There are 2 stages:
Run the following command to see the services available to build images.
docker also can be used instead of podman.
podman compose config --services
git clone https://github.com/prestodb/presto
cd presto/presto-native-execution && make submodules
podman compose build centos-native-dependency
Specify the build type using BUILD_TYPE (defaults to Release)
build argument. The BUILD_TYPE value is used to set the CMAKE_BUILD_TYPE
CMake variable. The allowed values are specified here.
podman compose build centos-native-runtime
# For a debug build, specify the BUILD_TYPE argument.
podman compose build --build-arg BUILD_TYPE=Debug centos-native-runtime
If you would like to enable GPU support, you can set set GPU to ON:
GPU=ON podman compose build centos-native-runtime