-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.build.yml
48 lines (45 loc) · 1.18 KB
/
docker-compose.build.yml
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
version: '3'
services:
build:
image: untangleinc/mfw:build
environment:
BUILD_URL:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
SSH_AUTH_SOCK: /ssh-agent
env_file: pkg_source.env
volumes:
- .:/home/mfw/tools
- ${PWD}:/home/mfw/openwrt
- ${MFW_FEEDS:-/tmp/mfw_feeds}:/home/mfw/mfw_feeds
- ${SSH_AUTH_SOCK}:/ssh-agent
build-local-container:
build:
context: .
dockerfile: Dockerfile.build
env_file: pkg_source.env
environment:
BUILD_URL:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
SSH_AUTH_SOCK: /ssh-agent
volumes:
- .:/home/mfw/tools
- ${PWD}:/home/mfw/openwrt
- ${MFW_FEEDS:-/tmp/mfw_feeds}:/home/mfw/mfw_feeds
- ${SSH_AUTH_SOCK}:/ssh-agent
build-local-container-bullseye:
build:
context: .
dockerfile: Dockerfile.build.bullseye
env_file: pkg_source.env
environment:
BUILD_URL:
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
SSH_AUTH_SOCK: /ssh-agent
volumes:
- .:/home/mfw/tools
- ${PWD}:/home/mfw/openwrt
- ${MFW_FEEDS:-/tmp/mfw_feeds}:/home/mfw/mfw_feeds
- ${SSH_AUTH_SOCK}:/ssh-agent