Linux Installer Scripts - rapidftr/rapidftr-infrastructure GitHub Wiki

Linux Installer Scripts

The Linux Installer scripts use LXC. The decision to use LXC was made as follows:

  • Support both 32-bit and 64-bit machines (rules out Docker)
  • Run on low powered Atom-class netbooks (rules out Virtual Machines)
  • Offline installation, package RapidFTR including all dependencies (Java, CouchDB, etc)

Given the above requirements, we decided to use barebones LXC for generating the installer scripts.

General Procedure

  • Create a LXC container
  • Run the production deployment scripts on the LXC container
  • Shutdown the container and remove all temporary files (apt archives, special nodes, etc)
  • Package the container using FPM