You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							44 lines
						
					
					
						
							858 B
						
					
					
				
			
		
		
	
	
							44 lines
						
					
					
						
							858 B
						
					
					
				#On choisit une debian
 | 
						|
FROM debian:10
 | 
						|
 | 
						|
MAINTAINER Aguyonnet "f.guyonantoine@gmail.com"
 | 
						|
 | 
						|
#Ne pas poser de question à l'installation
 | 
						|
ENV DEBIAN_FRONTEND noninteractive
 | 
						|
 | 
						|
#Installation d'apache et de php7.3 avec extension
 | 
						|
RUN apt update \
 | 
						|
&& apt install --yes --no-install-recommends \
 | 
						|
apt-utils \
 | 
						|
apache2 \
 | 
						|
apache2-utils \
 | 
						|
php7.3 \
 | 
						|
php7.3-mysql \
 | 
						|
php7.3-ldap \
 | 
						|
php7.3-xmlrpc \
 | 
						|
php7.3-imap \
 | 
						|
curl \
 | 
						|
php7.3-curl \
 | 
						|
php7.3-gd \
 | 
						|
php7.3-mbstring \
 | 
						|
php7.3-xml \
 | 
						|
php7.3-apcu-bc \
 | 
						|
php-cas \
 | 
						|
php7.3-intl \
 | 
						|
php7.3-zip \
 | 
						|
php7.3-bz2 \
 | 
						|
cron \
 | 
						|
wget \
 | 
						|
ca-certificates \
 | 
						|
jq \
 | 
						|
&& rm -rf /var/lib/apt/lists/*
 | 
						|
 | 
						|
#Copie et execution du script pour l'installation et l'initialisation de GLPI
 | 
						|
COPY glpi-start.sh glpi-install.sh /opt/
 | 
						|
RUN chmod +x /opt/glpi-start.sh /opt/glpi-install.sh
 | 
						|
RUN bash /opt/glpi-install.sh
 | 
						|
ENTRYPOINT ["/opt/glpi-start.sh"]
 | 
						|
 | 
						|
#Exposition des ports
 | 
						|
EXPOSE 80
 |