update docker
This commit is contained in:
		
							parent
							
								
									d738ce62b6
								
							
						
					
					
						commit
						c520847df7
					
				|  | @ -4,6 +4,7 @@ FROM alpine:3.18.4 | ||||||
| RUN apk update --no-cache | RUN apk update --no-cache | ||||||
| 
 | 
 | ||||||
| RUN apk add --no-cache \ | RUN apk add --no-cache \ | ||||||
|  |     sudo \ | ||||||
|     bash \ |     bash \ | ||||||
|     git \ |     git \ | ||||||
|     vim \ |     vim \ | ||||||
|  | @ -30,6 +31,11 @@ RUN apk add --no-cache \ | ||||||
| # config httpd.conf | # config httpd.conf | ||||||
| RUN sed -i '/LoadModule rewrite_module/s/^#//g' /etc/apache2/httpd.conf | RUN sed -i '/LoadModule rewrite_module/s/^#//g' /etc/apache2/httpd.conf | ||||||
| 
 | 
 | ||||||
|  | USER apache | ||||||
|  | RUN touch /var/log/apache2/access.log | ||||||
|  | RUN touch /var/log/apache2/error.log | ||||||
|  | 
 | ||||||
|  | USER root | ||||||
| # Install PHP and extenions | # Install PHP and extenions | ||||||
| RUN apk add --no-cache \ | RUN apk add --no-cache \ | ||||||
|     php81-common \ |     php81-common \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue