18 lines
		
	
	
		
			443 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			443 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| # -*- coding: utf-8 mode: dockerfile -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
 | |
| ARG REGISTRY=pubdocker.univ-reunion.fr/dist
 | |
| 
 | |
| FROM $REGISTRY/src/base AS base
 | |
| FROM $REGISTRY/src/postgres AS postgres
 | |
| 
 | |
| FROM postgres:15-bookworm
 | |
| ARG APT_PROXY TIMEZONE
 | |
| ENV APT_PROXY=$APT_PROXY TIMEZONE=$TIMEZONE
 | |
| 
 | |
| COPY --from=base /g/ /g/
 | |
| COPY --from=postgres /g/ /g/
 | |
| RUN /g/build -a @base @postgres
 | |
| RUN /g/pkg i @ssl @git
 | |
| 
 | |
| EXPOSE 5432
 | |
| ENTRYPOINT ["/g/entrypoint"]
 |