Instalar GD en Docker para convertir png y jpeg

apt-get install libfreetype6-dev \
		libjpeg62-turbo-dev \
		libpng-dev \
	
docker-php-ext-configure gd --with-freetype --with-jpeg
docker-php-ext-install -j$(nproc) gd