Séparation de l'environnement de build pour consommer moins d'espace lors de la construction d'une nouvelle image.
		
			
				
	
	
		
			20 lines
		
	
	
		
			431 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			431 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
NORMAL=''
 | 
						|
RED=''
 | 
						|
GREEN=''
 | 
						|
 | 
						|
msglog() {
 | 
						|
	case "${1}" in
 | 
						|
                green)
 | 
						|
                        TEXT_COLOR="${GREEN}"
 | 
						|
                        ;;
 | 
						|
                red)
 | 
						|
                        TEXT_COLOR="${RED}"
 | 
						|
                        ;;
 | 
						|
                normal)
 | 
						|
                        TEXT_COLOR="${NORMAL}"
 | 
						|
                        ;;
 | 
						|
        esac
 | 
						|
	DATE=$(date '+%Y %b %d %H:%M:%S')
 | 
						|
	echo ${DATE} ${TEXT_COLOR}${2}${NORMAL}
 | 
						|
}
 |