mirror of
				https://github.com/docker/compose.git
				synced 2025-11-03 21:25:21 +01:00 
			
		
		
		
	- Refactor Dockerfile to be used for tests and distribution on docker hub on debian and alpine to use for final usage and also tests - Adapt test scripts to the new Dockerfiles' structure - Adapt Jenkinsfile to add alpine to the test matrix Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			612 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			612 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/test/ci" "$TAG"
 | 
						|
 | 
						|
set -ex
 | 
						|
 | 
						|
docker version
 | 
						|
 | 
						|
export DOCKER_VERSIONS=${DOCKER_VERSIONS:-all}
 | 
						|
STORAGE_DRIVER=${STORAGE_DRIVER:-overlay}
 | 
						|
export DOCKER_DAEMON_ARGS="--storage-driver=$STORAGE_DRIVER"
 | 
						|
 | 
						|
GIT_VOLUME="--volumes-from=$(hostname)"
 | 
						|
. script/test/all
 |