The commit updates the file paths in the entrypoint scripts to use the correct variables and directories. This ensures that the scripts work as intended and avoid any potential errors or issues.
The code changes remove unnecessary lines and simplify the logic in the entrypoint-user.sh script. The tail command is now used directly to follow log files instead of checking for command-line arguments.
- Updated Dockerfiles for Ubuntu 18.04, 20.04, and 22.04 to use Node.js version 16.x instead of 18.x or 20.x
- Set environment variables LGSM_GITHUBBRANCH, LGSM_LOGDIR, LGSM_SERVERFILES, and LGSM_CONFIG to new values
- Changed working directory from /linuxgsm to /app
- Created /data directory in the container
- Cleared modules directory (/app/lgsm/modules) if branch is not master