1+ # Licensed under the Apache License, Version 2.0 (the "License");
2+ # you may not use this file except in compliance with the License.
3+ # You may obtain a copy of the License at
4+ #
5+ # http://www.apache.org/licenses/LICENSE-2.0
6+ #
7+ # Unless required by applicable law or agreed to in writing, software
8+ # distributed under the License is distributed on an "AS IS" BASIS,
9+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ # See the License for the specific language governing permissions and
11+ # limitations under the License.
12+ services :
13+ ubuntu-dev :
14+ # Usage:
15+ # docker compose build ubuntu-dev
16+ # podman compose build ubuntu-dev
17+ image : presto/prestissimo-dev:ubuntu-22.04
18+ build :
19+ args :
20+ # A few files in Velox require significant memory to compile and link.
21+ # Build requires 18GB of memory for 2 threads.
22+ - NUM_THREADS=2 # default value for NUM_THREADS.
23+ - DEPENDENCY_IMAGE=presto/prestissimo-dependency:ubuntu-22.04
24+ - BASE_IMAGE=ubuntu:22.04
25+ - OSNAME=ubuntu
26+ - EXTRA_CMAKE_FLAGS=-DPRESTO_ENABLE_TESTING=ON
27+ -DPRESTO_ENABLE_PARQUET=ON
28+ -DPRESTO_ENABLE_S3=ON
29+ -DPRESTO_ENABLE_REMOTE_FUNCTIONS=ON
30+ -DPRESTO_ENABLE_JWT=ON
31+ -DPRESTO_STATS_REPORTER_TYPE=PROMETHEUS
32+ -DPRESTO_MEMORY_CHECKER_TYPE=LINUX_MEMORY_CHECKER
33+ -DPRESTO_ENABLE_SPATIAL=ON
34+ context : .
35+ dockerfile : scripts/dockerfiles/prestissimo-dev.dockerfile
36+ stdin_open : true
37+ tty : true
38+ volumes :
39+ - ..:/presto
40+ working_dir : /presto/presto-native-execution
41+ command : bash
42+
43+ centos-dev :
44+ # Usage:
45+ # docker compose build centos-dev
46+ # podman compose build centos-dev
47+ image : presto/prestissimo-dev:centos9
48+ build :
49+ args :
50+ # A few files in Velox require significant memory to compile and link.
51+ # Build requires 18GB of memory for 2 threads.
52+ - NUM_THREADS=2 # default value for NUM_THREADS.
53+ - DEPENDENCY_IMAGE=presto/prestissimo-dependency:centos9
54+ - EXTRA_CMAKE_FLAGS=-DPRESTO_ENABLE_TESTING=ON
55+ -DPRESTO_ENABLE_PARQUET=ON
56+ -DPRESTO_ENABLE_S3=ON
57+ -DPRESTO_ENABLE_REMOTE_FUNCTIONS=ON
58+ -DPRESTO_ENABLE_JWT=ON
59+ -DPRESTO_STATS_REPORTER_TYPE=PROMETHEUS
60+ -DPRESTO_MEMORY_CHECKER_TYPE=LINUX_MEMORY_CHECKER
61+ -DPRESTO_ENABLE_SPATIAL=ON
62+ context : .
63+ dockerfile : scripts/dockerfiles/prestissimo-dev.dockerfile
64+ stdin_open : true
65+ tty : true
66+ volumes :
67+ - ..:/presto
68+ working_dir : /presto/presto-native-execution
69+ command : bash
70+
0 commit comments