php 7.2 optimize, add testing repository for fluentbit
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -47,14 +47,13 @@ FROM php:${PHP_VERSION}
 | 
			
		||||
ARG ENVIRONMENT=production
 | 
			
		||||
 | 
			
		||||
# Add testing alpine repository
 | 
			
		||||
# RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/x86" >> /etc/apk/repositories \
 | 
			
		||||
#     apk update
 | 
			
		||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update
 | 
			
		||||
 | 
			
		||||
# install system libs
 | 
			
		||||
RUN apk update && apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip
 | 
			
		||||
RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip fluent-bit 
 | 
			
		||||
 | 
			
		||||
# force apk upgrade, clear apk cache
 | 
			
		||||
RUN apk upgrade && rm -rf /var/cache/apk/*
 | 
			
		||||
RUN apk --no-cache upgrade && rm -rf /var/cache/apk/*
 | 
			
		||||
 | 
			
		||||
ENV DIR /var/www
 | 
			
		||||
ENV DOCKERIZE_VERSION v0.6.1
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ PHP_MODULES=("calendar" "bcmath" "bz2" "curl" "fileinfo" "gd" "gettext" "iconv"
 | 
			
		||||
#
 | 
			
		||||
# Helper functions
 | 
			
		||||
#
 | 
			
		||||
declare -i term_width=120
 | 
			
		||||
declare -i term_width=80
 | 
			
		||||
 | 
			
		||||
h1() {
 | 
			
		||||
    declare border padding text
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user