forked from BranchTaken/Hemlock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.docker-compose.yml
41 lines (41 loc) · 957 Bytes
/
.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
39
40
41
version: "3.9"
services:
prod:
build:
args:
- HEMLOCK_BOOTSTRAP_OCAML_VERSION
- HEMLOCK_PLATFORM
- HEMLOCK_UBUNTU_TAG
context: .
dockerfile: .dockerfile
target: prod
container_name: branchtaken__hemlock__prod
cap_add:
- SYS_PTRACE
environment:
- SSH_AUTH_SOCK
image: branchtaken/hemlock:prod
security_opt:
- seccomp:unconfined
privileged: true
volumes:
- .:/home/hemlock/Hemlock
- $SSH_AUTH_SOCK:$SSH_AUTH_SOCK
working_dir: /home/hemlock/Hemlock
pre-push:
build:
args:
- HEMLOCK_PRE_PUSH_CLONE_PATH
- HEMLOCK_CHECK_OCP_INDENT_BASE_COMMIT
target: pre-push
extends: prod
image: branchtaken/hemlock:pre-push
dev:
build:
args:
- DOTFILES_HASH
- DOTFILES_URL
target: dev
container_name: branchtaken__hemlock__dev
extends: prod
image: branchtaken/hemlock:dev