-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (42 loc) · 974 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (42 loc) · 974 Bytes
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
services:
development:
image: development:test
build:
context: .
network: host
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
user: build
stdin_open: true
tty: true
network_mode: host
working_dir: ${PWD}
configs:
- source: passwd
target: /etc/passwd
- source: group
target: /etc/group
- source: shadow
target: /etc/shadow
volumes:
- type: bind
source: ${PWD}
target: ${PWD}
bind:
create_host_path: false
- type: bind
source: ${DOCKER_HISTORY:-${HOME}/.docker_history}
target: /home/build/.bash_history
bind:
create_host_path: false
configs:
passwd:
content: |
build::${DOCKER_UID:-1000}:${DOCKER_GID:-1000}::/home/build:/usr/bin/bash
group:
content: |
build::${DOCKER_GID:-1000}:
shadow:
content: "#empty"