nayabatir1 / custom-nginx-image

Build custom image from nginx.tar.gz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create custom nginx image instead of installing apt package

Roadmap for creating custom image

  1. Get a good base image for building the application, like ubuntu
  2. Install necessary build dependencies on the base image
  3. Copy the nginx-1.19.2.tar.gz file inside the image
  4. Extract the contents of the archive and get rid of it.
  5. Configure the build, compile and install the program using the make tool.
  6. Get rid of the extracted source code.
  7. Run nginx executable.

About

Build custom image from nginx.tar.gz