@@ -19,6 +19,38 @@ services:
19
19
context : .
20
20
dockerfile : scripts/dockerfiles/ubuntu-22.04-dependency.dockerfile
21
21
22
+ ubuntu-native-dev :
23
+ # Usage:
24
+ # docker compose build ubuntu-native-dev
25
+ # podman compose build ubuntu-native-dev
26
+ image : presto/prestissimo-dependency:ubuntu-22.04
27
+ build :
28
+ args :
29
+ # A few files in Velox require significant memory to compile and link.
30
+ # Build requires 18GB of memory for 2 threads.
31
+ - NUM_THREADS=2 # default value for NUM_THREADS.
32
+ - DEPENDENCY_IMAGE=presto/prestissimo-dependency:ubuntu-22.04
33
+ - BASE_IMAGE=ubuntu:22.04
34
+ - OSNAME=ubuntu
35
+ - EXTRA_CMAKE_FLAGS=-DPRESTO_ENABLE_TESTING=OFF
36
+ -DPRESTO_ENABLE_PARQUET=ON
37
+ -DPRESTO_ENABLE_S3=ON
38
+ context : .
39
+ dockerfile : scripts/dockerfiles/prestissimo-runtime.dockerfile
40
+ target : prestissimo-dev
41
+ stdin_open : true
42
+ tty : true
43
+ volumes :
44
+ - ..:/presto
45
+ working_dir : /presto/presto-native-execution
46
+ environment :
47
+ - NUM_THREADS=2 # default value for NUM_THREADS
48
+ - EXTRA_CMAKE_FLAGS=-DPRESTO_ENABLE_TESTING=OFF
49
+ -DPRESTO_ENABLE_PARQUET=ON
50
+ -DPRESTO_ENABLE_S3=ON
51
+ command : >
52
+ bash -c "git config --global --add safe.directory /presto && git config --global --add safe.directory /presto/presto-native-execution/velox && ccache -sz -v && exec bash -i"
53
+
22
54
ubuntu-native-runtime :
23
55
# Usage:
24
56
# docker compose build ubuntu-native-runtime
@@ -47,6 +79,35 @@ services:
47
79
context : .
48
80
dockerfile : scripts/dockerfiles/centos-dependency.dockerfile
49
81
82
+ centos-native-dev :
83
+ # Usage:
84
+ # docker compose build centos-native-dev
85
+ # podman compose build centos-native-dev
86
+ image : presto/prestissimo-dependency:centos9
87
+ build :
88
+ args :
89
+ # A few files in Velox require significant memory to compile and link.
90
+ # Build requires 18GB of memory for 2 threads.
91
+ - NUM_THREADS=2 # default value for NUM_THREADS
92
+ - EXTRA_CMAKE_FLAGS=-DPRESTO_ENABLE_TESTING=OFF
93
+ -DPRESTO_ENABLE_PARQUET=ON
94
+ -DPRESTO_ENABLE_S3=ON
95
+ context : .
96
+ dockerfile : scripts/dockerfiles/prestissimo-runtime.dockerfile
97
+ target : prestissimo-dev
98
+ stdin_open : true
99
+ tty : true
100
+ volumes :
101
+ - ..:/presto
102
+ working_dir : /presto/presto-native-execution
103
+ environment :
104
+ - NUM_THREADS=2 # default value for NUM_THREADS
105
+ - EXTRA_CMAKE_FLAGS=-DPRESTO_ENABLE_TESTING=OFF
106
+ -DPRESTO_ENABLE_PARQUET=ON
107
+ -DPRESTO_ENABLE_S3=ON
108
+ command : >
109
+ bash -c "echo 'unset LANG' >> /root/.bashrc && git config --global --add safe.directory /presto && git config --global --add safe.directory /presto/presto-native-execution/velox && ccache -sz -v && exec bash -i"
110
+
50
111
centos-native-runtime :
51
112
# Usage:
52
113
# docker compose build centos-native-runtime
0 commit comments