mirror of
				https://github.com/docker/compose.git
				synced 2025-10-31 11:14:02 +01:00 
			
		
		
		
	This dockerfile generates a more lightweight image that works with the current official dynamically generated binaries Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com> Change image script to use new Dockerfile.run image without building compose Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com> Apply suggested fixes Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			294 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			294 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -e
 | |
| 
 | |
| if [ -z "$1" ]; then
 | |
|     >&2 echo "First argument must be image tag."
 | |
|     exit 1
 | |
| fi
 | |
| 
 | |
| TAG=$1
 | |
| 
 | |
| VERSION="$(python setup.py --version)"
 | |
| 
 | |
| ./script/build/write-git-sha
 | |
| python setup.py sdist bdist_wheel
 | |
| ./script/build/linux
 | |
| docker build -t docker/compose:$TAG -f Dockerfile.run .
 |