Docker directory

The docker directory contains scripts and files that help you work with Genero GAS docker images.

The docker directory is found in the GAS installation path ($FGLASDIR) on your system. Table 1 lists the contents of the directory and describes the function of each file and script.

Table 1. Docker directory
File Description
Readme.md This file contains the steps to guide you through the process of creating a docker image and running Genero GAS in a docker container.
entrypoint.sh This script file contains the commands needed to start Apache Web server and the GAS fastcgidispatch dispatcher that runs automatically when the container starts.
docker_run_genero_image.sh This short script file contains the command to run the docker container.
Dockerfile The Dockerfile contains the commands needed to get the latest updates to build the DebianĀ® image, and install the GAS and FGLGWS. The user ("genero") and group ("fourjs") are added. Settings for the Apache Web server are provided with login details for the genero user.
docker_build_genero_image.sh This script builds the docker image with the FGLGWS and GAS package installation files. It provides the commands to set up the environment for GAS and Apache Web server.
000-default.conf This file contains Apache Web server configuration settings for the GAS.

Scripts

The functionality provided in the scripts applies to working with a Debian image to create a docker container running Genero GAS and Apache Web server. You are encouraged to customize the scripts to your needs. For more information on using the scripts see the $FGLASDIR/docker/readme.md file. The quick start also guides you through using the scripts.