github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/sawtooth-core-master/docker/compose/run-lint.yaml (about) 1 2 # Copyright 2018 Cargill Incorporated 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 16 version: '3.6' 17 18 services: 19 20 lint-python: 21 build: 22 context: ../ 23 dockerfile: ./lint 24 image: lint:${ISOLATION_ID} 25 volumes: 26 - ../../:/project/sawtooth-core 27 command: run_lint 28 29 lint-go: 30 build: 31 context: ../ 32 dockerfile: ./lint 33 image: lint:${ISOLATION_ID} 34 volumes: 35 - ../../:/project/sawtooth-core 36 command: run_go_fmt 37 38 lint-rust: 39 build: 40 context: ../ 41 dockerfile: ./lint 42 image: lint:${ISOLATION_ID} 43 volumes: 44 - ../../:/project/sawtooth-core 45 command: run_lint_rust 46 47 lint-validator: 48 build: 49 context: ../ 50 dockerfile: ./lint 51 image: lint:${ISOLATION_ID} 52 volumes: 53 - ../../:/project/sawtooth-core 54 command: run_lint_validator