forked from wayfair-incubator/sonarscanner-buildkite-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (45 loc) · 1.17 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
39
40
41
42
43
44
45
46
47
48
49
50
51
version: "3.7"
x-build-args: &build_args
PLUGIN_VERSION: ${PLUGIN_VERSION}
BUILD_DATE: ${BUILD_DATE:-BUILD_DATE_NOT_SET}
CENTOS_VERSION: 8
services:
sonarscanner:
image: sonarscannerbuildkite/sonarscanner:${IMAGE_VERSION:-latest}
build:
dockerfile: docker/sonarscanner.dockerfile
context: .
args:
<<: *build_args
SONAR_SCANNER_VERSION: 4.2.0.1873
sonarscanner-dotnet:
image: sonarscannerbuildkite/sonarscanner-dotnet:${IMAGE_VERSION:-latest}
build:
dockerfile: docker/sonarscanner-dotnet.dockerfile
context: .
args:
<<: *build_args
DOTNET2_IMAGE_TAG: 2.2
DOTNET3_IMAGE_TAG: 3.0
lint:
image: sonarscannerbuildkite/sonarscanner-lint
command: "--format"
build:
dockerfile: docker/lint.dockerfile
context: .
args:
GOLANG_VERSION: 1.13.4
volumes:
- ".:/app"
plugin-test:
image: buildkite/plugin-tester
volumes:
- ".:/plugin:ro"
plugin-lint:
image: buildkite/plugin-linter
command:
[
"--id=ssh://[email protected]/wayfair-contribs/sonarscanner-buildkite-plugin.git",
]
volumes:
- ".:/plugin:ro"