sudo apt-get update
sudo apt-get install vsftpd
- sudo apt-get update
- sudo apt-get install build-essential checkinstall libx11-dev libxext-dev zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev libxml2-dev
- sudo apt-get build-dep imagemagick
- wget http://www.imagemagick.org/download/ImageMagick-6.9.10-8.tar.gz #change version as per requirement
- tar -xzvf ImageMagick-6.9.10-8.tar.gz
- cd ImageMagick-6.9.10-8
- ./configure
- login to 'AWS Management Console' (https://aws.amazon.com/console/)
- from 'Services'(in navbar) choose 'EC2'
- from 'Create Instance' section, click on 'Launch Instance'
- then select 'AMI' (Amazon Machine Image), we will be using 'Ubuntu Server 16.04 LTS (HVM)' as example
- select 'Instance Type' as per your requirement
- then click 'Next:Configure Instance Details' to continue
change 'Configure Instance Details' or used as default settings
FROM ruby:2.6.4
RUN apt-get update -o Acquire::CompressionTypes::Order::=gz -qq && apt-get install -y build-essential libpq-dev nodejs