Adding third-party Python libraries with an Internet connection - Platform - BlueCat Gateway - 18.6.1

Gateway Installation Guide

prodname
BlueCat Gateway
version_custom
18.6.1
Install third-party Python libraries from a Linux client with Internet connectivity.

To install third-party Python libraries:

  1. Create a requirements.txt file in your <dns_integrity_gateway>/packages directory.
  2. Modify the requirements.txt file to list all of the Python modules that need to be installed, with only one module per line.
  3. Run the following:
    python dns_integrity_gateway.py setup --uid <number>
    Parameters:
    • uid—any valid numerical value (uid cannot be zero); BlueCat recommends a uid of 500 or greater in order to avoid conflicts with internal container users. The uid (user ID) maps the Python Flask user inside the DNS Integrity Gateway container to the Linux client.