mirror of
				https://github.com/docker/compose.git
				synced 2025-10-31 11:14:02 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			473 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			473 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| # This should be run inside a container built from the Dockerfile
 | |
| # at the root of the repo:
 | |
| #
 | |
| # $ TAG="docker-compose:$(git rev-parse --short HEAD)"
 | |
| # $ docker build -t "$TAG" .
 | |
| # $ docker run --rm --volume="/var/run/docker.sock:/var/run/docker.sock" --volume="$(pwd)/.git:/code/.git" -e "TAG=$TAG" --entrypoint="script/ci" "$TAG"
 | |
| 
 | |
| set -e
 | |
| 
 | |
| export DOCKER_VERSIONS=all
 | |
| . script/test-versions
 | |
| 
 | |
| >&2 echo "Building Linux binary"
 | |
| su -c script/build-linux-inner user
 |