blob: 6351960a2531f7230d4041309385134e491dbd15 (
plain)
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
|
---
version: '3.2'
#NOTE: this mounts the host's /etc/hosts in the container
# Be sure you are running as a user who has write
# access to that file
services:
hostsdns:
image: linaro/hostsdns
container_name: hostsdns
network_mode: bridge
build:
context: ../hostsdns
dockerfile: Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/hosts:/tmp/hosts
login-proxy:
image: linaro/login-proxy
container_name: login-proxy
network_mode: bridge
build:
context: ..
dockerfile: Dockerfile_login_proxy
environment:
- SSH_USER=${SSH_USER:?Please set SSH_USER env var}
- ALIAS=login.linaro.org
hostname: login-proxy
volumes:
- type: bind
source: ${SSH_KEY_PATH:?Please set SSH_KEY_PATH env var}
target: /key
volume:
nocopy: true
readonly: true
trusty-base:
image: ansible/baseimage:14.04
network_mode: bridge
container_name: trusty-base
environment:
build:
context: ..
dockerfile: Dockerfile_trusty
hostname: trusty
|