@@ -19,6 +19,26 @@ services:
19
19
context : .
20
20
dockerfile : scripts/dockerfiles/ubuntu-22.04-dependency.dockerfile
21
21
22
+ ubuntu-native-ccache :
23
+ # Usage:
24
+ # docker compose build ubuntu-native-ccache
25
+ # podman compose build ubuntu-native-ccache
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-ccache
41
+
22
42
ubuntu-native-runtime :
23
43
# Usage:
24
44
# docker compose build ubuntu-native-runtime
@@ -47,6 +67,23 @@ services:
47
67
context : .
48
68
dockerfile : scripts/dockerfiles/centos-dependency.dockerfile
49
69
70
+ centos-native-ccache :
71
+ # Usage:
72
+ # docker compose build centos-native-ccache
73
+ # podman compose build centos-native-ccache
74
+ image : presto/prestissimo-dependency:centos9
75
+ build :
76
+ args :
77
+ # A few files in Velox require significant memory to compile and link.
78
+ # Build requires 18GB of memory for 2 threads.
79
+ - NUM_THREADS=2 # default value for NUM_THREADS
80
+ - EXTRA_CMAKE_FLAGS=-DPRESTO_ENABLE_TESTING=OFF
81
+ -DPRESTO_ENABLE_PARQUET=ON
82
+ -DPRESTO_ENABLE_S3=ON
83
+ context : .
84
+ dockerfile : scripts/dockerfiles/prestissimo-runtime.dockerfile
85
+ target : prestissimo-ccache
86
+
50
87
centos-native-runtime :
51
88
# Usage:
52
89
# docker compose build centos-native-runtime
@@ -61,4 +98,4 @@ services:
61
98
-DPRESTO_ENABLE_PARQUET=ON
62
99
-DPRESTO_ENABLE_S3=ON
63
100
context : .
64
- dockerfile : scripts/dockerfiles/prestissimo-runtime.dockerfile
101
+ dockerfile : scripts/dockerfiles/prestissimo-runtime.dockerfile
0 commit comments