-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
71 lines (66 loc) · 1.77 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
71 lines (66 loc) · 1.77 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
x-build-defaults: &build-defaults
user: "${UID:-1000}:${GID:-1000}"
working_dir: /build
volumes:
- .:/build
environment:
HOME: /build/.docker-home
GITHUB_TOKEN: "${GITHUB_TOKEN:-}"
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}"
GITHUB_TOKEN: "${GITHUB_TOKEN:-}"
container_name: packages-debian
alpine:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.alpine
args:
UID: "${UID:-1000}"
GID: "${GID:-1000}"
GITHUB_TOKEN: "${GITHUB_TOKEN:-}"
# Empty by default → build GCC from source (no alpine toolchain blob published yet).
# Once build-toolchain.yml publishes one, `export TOOLCHAIN_URL=<blob-url>` to fetch it.
TOOLCHAIN_URL: "${TOOLCHAIN_URL-}"
container_name: packages-alpine
rhel-8:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.rhel
args:
ALMA_VERSION: "8"
UID: "${UID:-1000}"
GID: "${GID:-1000}"
GITHUB_TOKEN: "${GITHUB_TOKEN:-}"
container_name: packages-rhel-8
rhel-9:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.rhel
args:
ALMA_VERSION: "9"
UID: "${UID:-1000}"
GID: "${GID:-1000}"
GITHUB_TOKEN: "${GITHUB_TOKEN:-}"
container_name: packages-rhel-9
rhel-10:
<<: *build-defaults
build:
context: .
dockerfile: Dockerfile.rhel
args:
ALMA_VERSION: "10"
UID: "${UID:-1000}"
GID: "${GID:-1000}"
GITHUB_TOKEN: "${GITHUB_TOKEN:-}"
container_name: packages-rhel-10