Update Dockerfile-70
install libJPEG and enabled in GD
This commit is contained in:
		@@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
 | 
				
			|||||||
    libpq-dev \
 | 
					    libpq-dev \
 | 
				
			||||||
    libmemcached-dev \
 | 
					    libmemcached-dev \
 | 
				
			||||||
    curl \
 | 
					    curl \
 | 
				
			||||||
 | 
					    libjpeg-dev \
 | 
				
			||||||
    libpng12-dev \
 | 
					    libpng12-dev \
 | 
				
			||||||
    libfreetype6-dev \
 | 
					    libfreetype6-dev \
 | 
				
			||||||
    libssl-dev \
 | 
					    libssl-dev \
 | 
				
			||||||
@@ -25,6 +26,7 @@ RUN pecl install mongodb
 | 
				
			|||||||
# configure gd library
 | 
					# configure gd library
 | 
				
			||||||
RUN docker-php-ext-configure gd \
 | 
					RUN docker-php-ext-configure gd \
 | 
				
			||||||
    --enable-gd-native-ttf \
 | 
					    --enable-gd-native-ttf \
 | 
				
			||||||
 | 
					    --with-jpeg-dir=/usr/lib \
 | 
				
			||||||
    --with-freetype-dir=/usr/include/freetype2
 | 
					    --with-freetype-dir=/usr/include/freetype2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install extensions using the helper script provided by the base image
 | 
					# Install extensions using the helper script provided by the base image
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user