This commit is contained in:
		
							
								
								
									
										41
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										41
									
								
								Dockerfile
									
									
									
									
									
								
							| @@ -3,32 +3,27 @@ FROM mcr.microsoft.com/powershell:ubuntu-bionic | |||||||
| COPY init/entrypoint.sh /usr/local/bin | COPY init/entrypoint.sh /usr/local/bin | ||||||
|  |  | ||||||
| RUN chmod +x /usr/local/bin/entrypoint.sh && \ | RUN chmod +x /usr/local/bin/entrypoint.sh && \ | ||||||
|     apt update && \ |     apt-get update && \ | ||||||
|     apt install \ |     apt-get install \ | ||||||
|  |       software-properties-common && \ | ||||||
|  |     add-apt-repository ppa:ondrej/php && \ | ||||||
|  |     apt-get install -y \ | ||||||
|       lighttpd \ |       lighttpd \ | ||||||
|       fcgi \ |       fcgi \ | ||||||
|       php7-cgi \ |       php7.3-cgi \ | ||||||
|       php7-common \ |       php7.3-common \ | ||||||
| #      php7-ctype \ |       php7.3-curl \ | ||||||
|       php7-curl \ |       php7.3-gd \ | ||||||
| #      php7-dom \ |       php7.3-json \ | ||||||
|       php7-gd \ |       php7.3-ldap \ | ||||||
| #      php7-gettext \ |       php7.3-pdo \ | ||||||
| #      php7-iconv \ |       php7.3-pdo_sqlite \ | ||||||
| #      php7-imap \ |       php7.3-session \ | ||||||
|       php7-json \ |       php7.3-xmlrpc && \ | ||||||
|       php7-ldap \ |  | ||||||
| #      php7-mcrypt \ |  | ||||||
| #      php7-mysqli \ |  | ||||||
|       php7-pdo \ |  | ||||||
| #      php7-pdo_mysql \ |  | ||||||
|       php7-pdo_sqlite \ |  | ||||||
| #      php7-posix \ |  | ||||||
|       php7-session \ |  | ||||||
| #      php7-soap \ |  | ||||||
| #      php7-xml \ |  | ||||||
|       php7-xmlrpc && \ |  | ||||||
|     rm -rf /var/lib/apt/lists/* && \ |     rm -rf /var/lib/apt/lists/* && \ | ||||||
|  |     apt-get remove \ | ||||||
|  |       software-properties-common && \ | ||||||
|  |     apt-get autoremove -y && \ | ||||||
|     # Enable PHP |     # Enable PHP | ||||||
|     sed -i 's:#   include "mod_fastcgi.conf":   include "mod_fastcgi.conf":' /etc/lighttpd/lighttpd.conf && \ |     sed -i 's:#   include "mod_fastcgi.conf":   include "mod_fastcgi.conf":' /etc/lighttpd/lighttpd.conf && \ | ||||||
|     sed -i 's:/usr/bin/php-cgi:/usr/bin/php-cgi7:' /etc/lighttpd/mod_fastcgi.conf && \ |     sed -i 's:/usr/bin/php-cgi:/usr/bin/php-cgi7:' /etc/lighttpd/mod_fastcgi.conf && \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user