-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
62 lines (57 loc) · 1.3 KB
/
docker-compose.yaml
File metadata and controls
62 lines (57 loc) · 1.3 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
x-build-defaults: &build-defaults
user: "${UID:-1000}:${GID:-1000}"
working_dir: /build
volumes:
- .:/build
environment:
HOME: /build/.docker-home
command: ["bash", "-c", "mkdir -p $$HOME && exec sleep infinity"]
services:
debian:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.debian
args:
UID: "${UID:-1000}"
GID: "${GID:-1000}"
container_name: packages-debian
alpine:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.alpine
args:
UID: "${UID:-1000}"
GID: "${GID:-1000}"
container_name: packages-alpine
rhel-8:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.rhel
args:
ALMA_VERSION: "8"
UID: "${UID:-1000}"
GID: "${GID:-1000}"
container_name: packages-rhel-8
rhel-9:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.rhel
args:
ALMA_VERSION: "9"
UID: "${UID:-1000}"
GID: "${GID:-1000}"
container_name: packages-rhel-9
rhel-10:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.rhel
args:
ALMA_VERSION: "10"
UID: "${UID:-1000}"
GID: "${GID:-1000}"
container_name: packages-rhel-10