forked from jumanjihouse/cci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
40 lines (38 loc) · 978 Bytes
/
docker-compose.yaml
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
---
version: '2.1'
services:
cci: &defaults
image: jumanjiman/cci
build:
context: src/
args:
- BUILD_DATE
- TAG
- VCS_REF
- CI_BUILD_URL=${CIRCLE_BUILD_URL}
labels:
io.github.jumanjiman.ci-build-url: ${CI_BUILD_URL}
io.github.jumanjiman.version: ${TAG}
io.github.jumanjiman.build-date: ${BUILD_DATE}
io.github.jumanjiman.vcs-ref: ${VCS_REF}
io.github.jumanjiman.license: MIT
io.github.jumanjiman.docker.dockerfile: src/Dockerfile
io.github.jumanjiman.vcs-type: Git
io.github.jumanjiman.vcs-url: https://github.com/jumanjihouse/cci.git
ci:
<<: *defaults
entrypoint: goss
command: -g /goss.yaml validate --format=tap
environment:
- BUILD_DATE
- TAG
- VCS_REF
- CI_BUILD_URL
read_only: true
cap_drop:
- all
cpu_shares: 1023
mem_limit: 1G
shm_size: 32M
stdin_open: true
tty: true