-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.el9.yml
497 lines (495 loc) · 14.8 KB
/
docker-compose.el9.yml
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
---
version: "3.7"
x-rpmbuild:
channel_name: &rpmbuild_channel stable
dist: &rpmbuild_dist .el9
email: &rpmbuild_email foundationgeoint-packaging@maxar.com
image_prefix: &rpmbuild_image_prefix ${IMAGE_PREFIX}
packager_name: &rpmbuild_name FoundationGEOINT Packaging
postgres_version: &postgres_version "15"
vendor: &rpmbuild_vendor Maxar Technologies
base_args: &rpmbuild_base_args
rpmbuild_dist: *rpmbuild_dist
rpmbuild_email: *rpmbuild_email
rpmbuild_gid: ${RPMBUILD_GID}
rpmbuild_name: *rpmbuild_name
rpmbuild_uid: ${RPMBUILD_UID}
build_defaults: &build_defaults
context: .
dockerfile: docker/el9/Dockerfile.rpmbuild-generic
labels:
maintainer: *rpmbuild_email
vendor: *rpmbuild_vendor
build_args_defaults: &build_args_defaults
rpmbuild_channel: *rpmbuild_channel
rpmbuild_image_prefix: *rpmbuild_image_prefix
rpmbuild_image: rpmbuild
# Use consistent values for minimum versions for RPM build
# and runtime requirements.
version_limits:
gdal_min_version: &gdal_min_version 3.8.0
geos_min_version: &geos_min_version 3.12.0
libosmium_min_version: &libosmium_min_version 2.18.0
postgis_min_version: &postgis_min_version 3.4.0
proj_min_version: &proj_min_version 9.2.0
protobuf-c_min_version: &protobuf_c_min_version 1.3.0
protobuf_min_version: &protobuf_min_version 3.0.0
protozero_min_version: &protozero_min_version 1.7.0
sqlite_min_version: &sqlite_min_version 3.11.0
# Configuration for building every dependency RPM.
rpms:
CGAL:
image: rpmbuild-cgal
version: &CGAL_version 5.6-1
name: CGAL-devel
FileGDBAPI:
image: rpmbuild-generic
version: &FileGDBAPI_version 1.5.2-1
SFCGAL:
image: rpmbuild-sfcgal
version: &SFCGAL_version 1.4.1-1
defines:
# Too many build processes can exhaust RAM.
_smp_ncpus_max: 4
armadillo:
image: rpmbuild-armadillo
version: &armadillo_version 12.6.6-1
caddy:
image: rpmbuild-caddy
version: &caddy_version 2.7.5-1
gdal:
image: rpmbuild-gdal
version: &gdal_version 3.8.0-1
defines:
geos_min_version: *geos_min_version
proj_min_version: *proj_min_version
geos:
image: rpmbuild-generic
version: &geos_version 3.12.1-1
geoserver:
arch: noarch
defines:
gdal_version: *gdal_version
image: rpmbuild-generic
version: &geoserver_version 2.23.3-1
geoserver-geonode:
arch: noarch
defines:
gdal_version: *gdal_version
image: rpmbuild-generic
version: *geoserver_version
g2clib:
image: rpmbuild-g2clib
name: g2clib-devel
version: &g2clib_version 1.8.0-1
journald-cloudwatch-logs:
image: rpmbuild-journald-cloudwatch-logs
version: &journald-cloudwatch-logs_version 0.2.3-1
libgeotiff:
image: rpmbuild-libgeotiff
version: &libgeotiff_version 1.7.1-10
defines:
proj_min_version: *proj_min_version
libosmium:
image: rpmbuild-libosmium
version: &libosmium_version 2.20.0-1
arch: noarch
name: libosmium-devel
defines:
protozero_min_version: *protozero_min_version
libosmpbf:
image: rpmbuild-libosmpbf
version: &libosmpbf_version 1.5.0-1
defines:
protobuf_min_version: *protobuf_min_version
libpqxx:
image: rpmbuild-libpqxx
version: &libpqxx_version 7.8.1-1
mapnik:
image: rpmbuild-mapnik
version: &mapnik_version 3.1.0-3
defines:
gdal_min_version: *gdal_min_version
geos_min_version: *geos_min_version
postgis_min_version: *postgis_min_version
proj_min_version: *proj_min_version
mapserver:
image: rpmbuild-mapserver
version: &mapserver_version 8.0.1-3
defines:
gdal_min_version: *gdal_min_version
geos_min_version: *geos_min_version
proj_min_version: *proj_min_version
openstreetmap-carto:
image: rpmbuild-openstreetmap-carto
version: &openstreetmap_carto_version 5.7.0-1
arch: noarch
defines:
data_natural_earth_version: 5.1.0
fonts_google_noto_cjk_git_ref: fcf3fdab7d4f10dde80f56526bd4376d21dacf0c
fonts_google_noto_git_ref: 2725c70baa8b0176c7577093ba1fc6179aa79478
fonts_hanazono_version: 20170904
osmctools:
image: rpmbuild-osmctools
version: &osmctools_version 0.9-1
osmdbt:
image: rpmbuild-osmdbt
version: &osmdbt_version 0.6-1
defines:
commit: c03a67558b80ae00cbd881b0b4b2a458bc3540d1
libosmium_min_version: *libosmium_min_version
osmosis:
image: rpmbuild-generic
version: &osmosis_version 0.48.3-2
arch: noarch
osmium-tool:
image: rpmbuild-osmium-tool
version: &osmium-tool_version 1.16.0-1
defines:
libosmium_min_version: *libosmium_min_version
protozero_min_version: *protozero_min_version
osm2pgsql:
image: rpmbuild-osm2pgsql
version: &osm2pgsql_version 1.10.0-1
defines:
libosmium_min_version: *libosmium_min_version
nlohmann_json_version: 3.11.2
proj_min_version: *proj_min_version
postgis_min_version: *postgis_min_version
protobuf_c_min_version: *protobuf_c_min_version
passenger:
image: rpmbuild-passenger
version: &passenger_version 6.0.18-1
planet-dump-ng:
image: rpmbuild-planet-dump-ng
version: &planet_dump_ng_version 1.2.7-1
defines:
protobuf_min_version: *protobuf_min_version
postgis:
image: rpmbuild-postgis
version: &postgis_version 3.4.1-1
defines:
gdal_min_version: *gdal_min_version
geos_min_version: *geos_min_version
proj_min_version: *proj_min_version
protobuf_min_version: *protobuf_min_version
protobuf_c_min_version: *protobuf_c_min_version
proj:
image: rpmbuild-proj
version: &proj_version 9.3.0-1
defines:
data_version: "1.15"
protozero:
image: rpmbuild-protozero
version: &protozero_version 1.7.1-1
arch: noarch
name: protozero-devel
defines:
protobuf_min_version: *protobuf_min_version
python3-osmium:
image: rpmbuild-pyosmium
version: &pyosmium_version 3.7.0-1
defines:
libosmium_min_version: *libosmium_min_version
protozero_min_version: *protozero_min_version
rubygem-libxml-ruby:
image: rpmbuild-rubygem-libxml-ruby
version: &rubygem_libxml_ruby_version 4.1.2-1
sbt:
image: rpmbuild-generic
version: &sbt_version 1.9.7-1
arch: noarch
spawn-fcgi:
image: rpmbuild-generic
version: &spawn_fcgi_version 1.6.5-1
sqlite-pcre:
image: rpmbuild-sqlite-pcre
version: &sqlite_pcre_version 2007.1.20-1
step-ca:
image: rpmbuild-smallstep
version: &step_ca_version 0.25.2-1
step-cli:
image: rpmbuild-smallstep
version: &step_cli_version 0.25.1-1
wal-g:
image: rpmbuild-wal-g
version: &walg_version 2.0.1-2
service_volumes: &service_volumes
- ./RPMS:/rpmbuild/RPMS:rw
- ./SOURCES/el9:/rpmbuild/SOURCES:rw
- ./SPECS/el9:/rpmbuild/SPECS:ro
- ./scripts:/rpmbuild/scripts:ro
service_defaults: &service_defaults
command: tail -f /dev/null
init: true
volumes: *service_volumes
services:
# Base images
rpmbuild:
build:
context: .
dockerfile: docker/el9/Dockerfile.rpmbuild
args:
<<: *rpmbuild_base_args
labels:
maintainer: *rpmbuild_email
vendor: *rpmbuild_vendor
command: tail -f /dev/null
image: ${IMAGE_PREFIX}rpmbuild
init: true
user: nobody
rpmbuild-generic:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
image: ${IMAGE_PREFIX}rpmbuild-generic
rpmbuild-pgdg:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
postgres_version: *postgres_version
dockerfile: docker/el9/Dockerfile.rpmbuild-pgdg
image: ${IMAGE_PREFIX}rpmbuild-pgdg
# RPM images
rpmbuild-armadillo:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_ARMADILLO_PACKAGES}
rpmbuild-caddy:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
rpmbuild_image: rpmbuild-generic
dockerfile: docker/el9/Dockerfile.rpmbuild-go
rpmbuild-cgal:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_CGAL_PACKAGES}
rpmbuild-gdal:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
armadillo_version: *armadillo_version
cgal_version: *CGAL_version
filegdbapi_version: *FileGDBAPI_version
geos_version: *geos_version
g2clib_version: *g2clib_version
libgeotiff_version: *libgeotiff_version
packages: ${RPMBUILD_GDAL_PACKAGES}
proj_version: *proj_version
rpmbuild_image: rpmbuild-pgdg
sfcgal_version: *SFCGAL_version
dockerfile: docker/el9/Dockerfile.rpmbuild-gdal
rpmbuild-g2clib:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_G2CLIB_PACKAGES}
rpmbuild-proj:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_PROJ_PACKAGES}
rpmbuild-libgeotiff:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_LIBGEOTIFF_PACKAGES}
proj_version: *proj_version
dockerfile: docker/el9/Dockerfile.rpmbuild-libgeotiff
rpmbuild-libosmium:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_LIBOSMIUM_PACKAGES}
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-deps
rpmbuild-libpqxx:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_LIBPQXX_PACKAGES}
postgres_version: *postgres_version
testing: 1
dockerfile: docker/el9/Dockerfile.rpmbuild-pgdg
rpmbuild-journald-cloudwatch-logs:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_JOURNALD_CLOUDWATCH_LOGS_PACKAGES}
rpmbuild_image: rpmbuild-generic
dockerfile: docker/el9/Dockerfile.rpmbuild-go
rpmbuild-libosmpbf:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_LIBOSMPBF_PACKAGES}
rpmbuild-mapnik:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_MAPNIK_PACKAGES}
rpmbuild_image: rpmbuild-pgdg
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-pgdg
rpmbuild-mapserver:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_MAPSERVER_PACKAGES}
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-deps
rpmbuild-openstreetmap-carto:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_OPENSTREETMAP_CARTO_PACKAGES}
rpmbuild-osmctools:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_OSMCTOOLS_PACKAGES}
rpmbuild-osmdbt:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_OSMDBT_PACKAGES}
rpmbuild_image: rpmbuild-pgdg
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-pgdg
rpmbuild-osmium-tool:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_OSMIUM_TOOL_PACKAGES}
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-deps
rpmbuild-osm2pgsql:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_OSM2PGSQL_PACKAGES}
rpmbuild_image: rpmbuild-pgdg
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-pgdg
rpmbuild-passenger:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_PASSENGER_PACKAGES}
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-deps
rpmbuild-planet-dump-ng:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_PLANET_DUMP_NG_PACKAGES}
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-deps
rpmbuild-postgis:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_POSTGIS_PACKAGES}
rpmbuild_image: rpmbuild-pgdg
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-pgdg
rpmbuild-protozero:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_PROTOZERO_PACKAGES}
rpmbuild-pyosmium:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_PYOSMIUM_PACKAGES}
python_packages: pytest-httpserver==1.0.8
dockerfile: docker/el9/Dockerfile.rpmbuild-geoint-deps
rpmbuild-rubygem-libxml-ruby:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
gem_packages: >-
minitest
rake-compiler
packages: ${RPMBUILD_RUBYGEM_LIBXML_RUBY_PACKAGES}
rpmbuild-sfcgal:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
cgal_version: *CGAL_version
packages: ${RPMBUILD_SFCGAL_PACKAGES}
dockerfile: docker/el9/Dockerfile.rpmbuild-sfcgal
rpmbuild-sqlite-pcre:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_SQLITE_PCRE_PACKAGES}
rpmbuild-smallstep:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_STEP_CA_PACKAGES}
rpmbuild_image: rpmbuild-generic
dockerfile: docker/el9/Dockerfile.rpmbuild-go
rpmbuild-wal-g:
<<: *service_defaults
build:
<<: *build_defaults
args:
<<: *build_args_defaults
packages: ${RPMBUILD_WALG_PACKAGES}
rpmbuild_image: rpmbuild-generic
dockerfile: docker/el9/Dockerfile.rpmbuild-go