doc: cache preserving and colored output on docker runs (#3377)
This commit is contained in:
		
							parent
							
								
									d0b2463fd7
								
							
						
					
					
						commit
						f6f81df4ce
					
				| @ -75,6 +75,16 @@ sudo port install golangci-lint | |||||||
| docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v | docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | Preserving cache between consecutive runs: | ||||||
|  | ```sh | ||||||
|  | docker run --rm -v $(pwd):/app -v ~/.cache/golangci-lint/{.LatestVersion}:/root/.cache -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | Colored output: | ||||||
|  | ```sh | ||||||
|  | docker run -t --rm -v $(pwd):/app -w /app golangci/golangci-lint:{.LatestVersion} golangci-lint run -v | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ### Linux and Windows | ### Linux and Windows | ||||||
| 
 | 
 | ||||||
| ```sh | ```sh | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Siarhei Navatski
						Siarhei Navatski