-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.04 KB
/
docker-compose.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
version: "3.7"
services:
hardened-buildroot:
build:
context: ./
args:
BUILDROOT_USER: br-user
BUILDROOT_DIR: buildroot
BUILDROOT_VERSION: git
BUILDROOT_BRANCH: master
BUILDROOT_COMMIT: 4533e42622e46f2b8e0ce4d1936c6534393d3aa1
# Space deliminated list of external trees of which to use.
EXTERNAL_TREES: hardened-buildroot-external
BUILDROOT_PATCH_DIR: "hardened-buildroot-external/patches/buildroot/"
SELINUX_MODULES_DIR: "hardened-buildroot-external/selinux-modules"
UID: 1000
GID: 1000
environment:
- APPLY_CONFIGS
- CLEAN_AFTER_BUILD
- ENV_FILES
- EXIT_AFTER_BUILD
- NO_BUILD
- VERBOSE
ulimits:
nofile:
soft: 1048576
hard: 1048576
privileged: true
stdin_open: true
tty: true
volumes:
- ./:/mnt
- hardened-buildroot-ccache:/home/ccache
image: hardened-buildroot:latest
container_name: hardened-buildroot
volumes:
hardened-buildroot-ccache: