This commit is contained in:
		
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							| @@ -1,14 +1,16 @@ | ||||
| FROM mcr.microsoft.com/powershell:ubuntu-bionic | ||||
|  | ||||
| ARG DEBIAN_FRONTEND=noninteractive | ||||
|  | ||||
| COPY init/entrypoint.sh /usr/local/bin | ||||
|  | ||||
| RUN chmod +x /usr/local/bin/entrypoint.sh && \ | ||||
|     apt-get update && \ | ||||
|     apt-get install -y \ | ||||
|     apt-get install -y --no-install-recommends \ | ||||
|       libterm-readline-gnu-perl \ | ||||
|       software-properties-common && \ | ||||
|     add-apt-repository ppa:ondrej/php && \ | ||||
|     apt-get install -y \ | ||||
|     apt-get install -y --no-install-recommends \ | ||||
|       lighttpd \ | ||||
|       php7.3-cgi \ | ||||
|       php7.3-common \ | ||||
| @@ -20,7 +22,6 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \ | ||||
| #      php7.3-pdo_sqlite \ | ||||
| #      php7.3-session \ | ||||
|       php7.3-xmlrpc && \ | ||||
|     rm -rf /var/lib/apt/lists/* && \ | ||||
|     # Enable PHP | ||||
|     lighttpd-enable-mod fastcgi-php && \ | ||||
|     # Include vhost's | ||||
| @@ -29,8 +30,8 @@ RUN chmod +x /usr/local/bin/entrypoint.sh && \ | ||||
|     apt-get remove -y \ | ||||
|       libterm-readline-gnu-perl \ | ||||
|       software-properties-common && \ | ||||
|     apt-get autoremove -y | ||||
|  | ||||
|     apt-get autoremove -y && \ | ||||
|     rm -rf /var/lib/apt/lists/* | ||||
|  | ||||
| VOLUME /etc/lighttpd/vhosts.d | ||||
| VOLUME /var/www | ||||
|   | ||||
		Reference in New Issue
	
	Block a user