mirror of
				https://github.com/docker/compose.git
				synced 2025-10-31 03:03:49 +01:00 
			
		
		
		
	Current Dockerfile builds fine for armhf and thus the outdated Dockerfile.armhf is unnecessary. Change-Id: Idafdb9fbddedd622c2c0aaddb1d5331d81cfe57d Signed-off-by: Joakim Roubert <joakimr@axis.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			582 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			582 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| # See CONTRIBUTING.md for usage.
 | |
| 
 | |
| set -ex
 | |
| 
 | |
| TAG="docker-compose:alpine-$(git rev-parse --short HEAD)"
 | |
| 
 | |
| # By default use the Dockerfile, but can be overridden to use an alternative file
 | |
| # e.g DOCKERFILE=Dockerfile.s390x script/test/default
 | |
| DOCKERFILE="${DOCKERFILE:-Dockerfile}"
 | |
| DOCKER_BUILD_TARGET="${DOCKER_BUILD_TARGET:-build}"
 | |
| 
 | |
| rm -rf coverage-html
 | |
| # Create the host directory so it's owned by $USER
 | |
| mkdir -p coverage-html
 | |
| 
 | |
| docker build -f "${DOCKERFILE}" -t "${TAG}" --target "${DOCKER_BUILD_TARGET}" .
 | |
| 
 | |
| GIT_VOLUME="--volume=$(pwd)/.git:/code/.git"
 | |
| . script/test/all
 |