forked from externpro/externpro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.bld.yml
More file actions
45 lines (45 loc) · 1.04 KB
/
compose.bld.yml
File metadata and controls
45 lines (45 loc) · 1.04 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
x-all: &all-alias
environment:
- DISPLAY=${DISPLAY_ENV}
- XAUTHORITY=${XAUTH_ENV}
user: ${USER}
stdin_open: true
tty: true
working_dir: /bpvol/${COMPOSE_PROJECT_NAME}
x-bld: &bld-alias
cap_add:
- SYS_PTRACE
volumes:
- .:/bpvol/${COMPOSE_PROJECT_NAME}
- ..:/bpvol/workspace
- /tmp/.X11-unix:/tmp/.X11-unix
- ~/.ssh:/home/${USER}/.ssh
- ~/.gitconfig:/home/${USER}/.gitconfig
x-all-build-args: &all-build-args-alias
BPROIMG: ${BPROIMG}
BPROTAG: ${BPROTAG}
USERNAME: ${USER}
USERID: ${USERID}
GROUPID: ${GROUPID}
COPY_IT: ${COPY_IT}
RUN_IT: ${RUN_IT}
TZ: ${TZ}
x-bld-build-args: &bld-build-args-alias
WEBPRO: ${WEBPRO}
TOOLS: ${TOOLS}
TOOLS_PATH: ${TOOLS_PATH}
services:
bld:
<<: [*all-alias, *bld-alias]
build:
context: .devcontainer
dockerfile: local.dockerfile
network: host
args:
<<: [*all-build-args-alias, *bld-build-args-alias]
extra_hosts:
- "${HNAME}=127.0.0.1"
hostname: ${HNAME}
network_mode: host
profiles:
- pbld