26 lines
		
	
	
		
			846 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			846 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
 | |
| if profile prod; then
 | |
|     default checkout branch=master
 | |
| elif profile test devel; then
 | |
|     default checkout branch=develop
 | |
| fi
 | |
| default composer image=$REGISTRY/image/phpbuilder:$DIST
 | |
| 
 | |
| ## web ########################################################################
 | |
| checkout https://git.univ-reunion.fr/sda-php/NAME-app b/web
 | |
| composer b/web
 | |
| 
 | |
| dockerfile
 | |
|     # -*- coding: utf-8 mode: dockerfile -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
 | |
|     FROM $REGISTRY/image/apache-php-myiccas:$DIST
 | |
|     #RUN /debian/pkg i
 | |
| 
 | |
|     #ENV MSMTP_ENABLE=1
 | |
|     #COPY b/web/config/msmtp /msmtp-config
 | |
|     COPY b/web/config/ssl /ssl-config
 | |
|     COPY b/web/config/apache /apache-config
 | |
|     COPY b/web/config/php /php-config
 | |
|     #COPY b/web/config/before-start-apache /
 | |
|     COPY b/web /var/www/app
 | |
| build
 |