27 lines
		
	
	
		
			743 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			743 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| # Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
 | |
| # file Copyright.txt or https://cmake.org/licensing for details.
 | |
| 
 | |
| # Produce a base image with a test environment for packaged CMake binaries.
 | |
| # Build using the directory containing this file as its own build context.
 | |
| 
 | |
| ARG FROM_IMAGE_NAME=debian:10
 | |
| ARG FROM_IMAGE_DIGEST=@sha256:b86bfc1dd2fb1820fea6c1e0b6e23d155198b518b3a506f6edad71bf6e9a8cef
 | |
| ARG FROM_IMAGE=$FROM_IMAGE_NAME$FROM_IMAGE_DIGEST
 | |
| FROM $FROM_IMAGE
 | |
| 
 | |
| RUN : \
 | |
|  && apt-get update \
 | |
|  && apt-get install -y \
 | |
|         dpkg \
 | |
|         file \
 | |
|         gcc \
 | |
|         g++ \
 | |
|         gfortran \
 | |
|         qt5-default \
 | |
|         make \
 | |
|         ninja-build \
 | |
|  && apt-get clean \
 | |
|  && :
 | |
| 
 | |
| COPY test-make.bash test-ninja.bash /
 |