L’essentiel y est, y compris les instructions pour manipuler l’infrastructure et comment suivre les scénarios.
		
			
				
	
	
		
			32 lines
		
	
	
		
			656 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			656 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM alpine:latest
 | 
						|
 | 
						|
RUN adduser -D expediteur
 | 
						|
 | 
						|
RUN apk add \
 | 
						|
    bash \
 | 
						|
    execline \
 | 
						|
    nano \
 | 
						|
    nano-syntax \
 | 
						|
    opendkim \
 | 
						|
    opendkim-utils \
 | 
						|
    opendmarc \
 | 
						|
    postfix \
 | 
						|
    s6-overlay \
 | 
						|
    vim
 | 
						|
 | 
						|
RUN newaliases
 | 
						|
 | 
						|
RUN install -m 0700 -o opendkim -g opendkim -d /run/opendkim
 | 
						|
RUN install -m 0700 -o opendkim -g opendkim -d /etc/opendkim/keys
 | 
						|
 | 
						|
COPY etc/s6-overlay /etc/s6-overlay
 | 
						|
COPY etc/postfix /etc/postfix
 | 
						|
COPY etc/opendkim /etc/opendkim
 | 
						|
 | 
						|
ENTRYPOINT ["/init"]
 | 
						|
 | 
						|
# Ne pas positionner USER, ou sinon les services ne démarreront pas de manière
 | 
						|
# adéquate.
 | 
						|
 | 
						|
COPY --chown=expediteur scripts /home/expediteur/scripts
 |