-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
159 lines (154 loc) · 5.47 KB
/
Copy pathdocker-compose.yml
File metadata and controls
159 lines (154 loc) · 5.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
services:
ubuntu-cpp-dev:
# Usage:
# docker compose build ubuntu-cpp-dev
# podman compose build ubuntu-cpp-dev
image: docker.io/presto/presto-cpp-dev:ubuntu-22.04
build:
args:
- DEPENDENCY_IMAGE=presto/prestissimo-dependency:ubuntu-22.04
- BASE_IMAGE=ubuntu:22.04
- OSNAME=ubuntu
- ARM_BUILD_TARGET=notlocal
- EXTRA_CMAKE_FLAGS=${UBUNTU_CMAKE_FLAGS} ${COMMON_CMAKE_FLAGS}
context: ..
dockerfile: presto-dev/Dockerfile-cpp-dev
labels:
org.opencontainers.image.revision: ${COMMIT_ID}
org.opencontainers.image.created: ${TIMESTAMP}
org.opencontainers.image.version: ${VERSION}
org.opencontainers.image.description: ${DESCRIPTION}
org.opencontainers.image.licenses: Apache-2.0
centos-cpp-dev:
# Usage:
# docker compose build centos-cpp-dev
# podman compose build centos-cpp-dev
image: docker.io/presto/presto-cpp-dev:centos9
build:
args:
- DEPENDENCY_IMAGE=presto/prestissimo-dependency:centos9
- ARM_BUILD_TARGET=notlocal
- EXTRA_CMAKE_FLAGS=${CENTOS_CMAKE_FLAGS} ${COMMON_CMAKE_FLAGS}
context: ..
dockerfile: presto-dev/Dockerfile-cpp-dev
labels:
org.opencontainers.image.revision: ${COMMIT_ID}
org.opencontainers.image.created: ${TIMESTAMP}
org.opencontainers.image.version: ${VERSION}
org.opencontainers.image.description: ${DESCRIPTION}
org.opencontainers.image.licenses: Apache-2.0
ubuntu-java-dev:
# Usage:
# docker compose build ubuntu-java-dev
# podman compose build ubuntu-java-dev
image: docker.io/presto/presto-java-dev:ubuntu-22.04
build:
context: ..
args:
- BASE_IMAGE=presto/presto-cpp-dev:ubuntu-22.04
dockerfile: presto-dev/Dockerfile-java-dev
target: ubuntu
labels:
org.opencontainers.image.revision: ${COMMIT_ID}
org.opencontainers.image.created: ${TIMESTAMP}
org.opencontainers.image.version: ${VERSION}
org.opencontainers.image.description: ${DESCRIPTION}
org.opencontainers.image.licenses: Apache-2.0
centos-java-dev:
# Usage:
# docker compose build centos-dev
# podman compose build centos-dev
# docker compose run --rm -it --service-ports centos-dev
# podman compose run --rm -it --service-ports centos-dev
image: docker.io/presto/presto-java-dev:centos9
build:
args:
- BASE_IMAGE=presto/presto-cpp-dev:centos9
context: ..
dockerfile: presto-dev/Dockerfile-java-dev
target: centos
labels:
org.opencontainers.image.revision: ${COMMIT_ID}
org.opencontainers.image.created: ${TIMESTAMP}
org.opencontainers.image.version: ${VERSION}
org.opencontainers.image.description: ${DESCRIPTION}
org.opencontainers.image.licenses: Apache-2.0
ubuntu-dev:
# Usage:
# docker compose build ubuntu-dev
# podman compose build ubuntu-dev
# docker compose run --rm -it --service-ports ubuntu-dev
# podman compose run --rm -it --service-ports ubuntu-dev
image: docker.io/presto/presto-dev:ubuntu-22.04
build:
args:
- BASE_IMAGE=presto/presto-java-dev:ubuntu-22.04
dockerfile: Dockerfile-tools
target: ubuntu
labels:
org.opencontainers.image.revision: ${COMMIT_ID}
org.opencontainers.image.created: ${TIMESTAMP}
org.opencontainers.image.version: ${VERSION}
org.opencontainers.image.description: ${DESCRIPTION}
org.opencontainers.image.licenses: Apache-2.0
stdin_open: true
tty: true
volumes:
- ..:/presto
- ./root:/root
- ./.env:/root/.build-env
- ./presto/data:/opt/presto/data
- ./clusters:/opt/clusters
working_dir: /presto/presto-native-execution
ports:
- 8080:8080
- 8081:8081
- 8090:8090
- 7777:7777
- 2222:2222
command: /usr/sbin/sshd -D
centos-dev:
# Usage:
# docker compose build centos-dev
# podman compose build centos-dev
# docker compose run --rm -it --service-ports centos-dev
# podman compose run --rm -it --service-ports centos-dev
image: docker.io/presto/presto-dev:centos9
build:
args:
- BASE_IMAGE=presto/presto-java-dev:centos9
dockerfile: Dockerfile-tools
target: centos
labels:
org.opencontainers.image.revision: ${COMMIT_ID}
org.opencontainers.image.created: ${TIMESTAMP}
org.opencontainers.image.version: ${VERSION}
org.opencontainers.image.description: ${DESCRIPTION}
org.opencontainers.image.licenses: Apache-2.0
stdin_open: true
tty: true
volumes:
- ..:/presto
- ./root:/root
- ./.env:/root/.build-env
- ./presto/data:/opt/presto/data
- ./clusters:/opt/clusters
working_dir: /presto/presto-native-execution
ports:
- 8080:8080
- 8081:8081
- 8090:8090
- 7777:7777
- 2222:2222
command: /usr/sbin/sshd -D