AnzuSystems Node Development Docker Images by Petit Press a.s. (www.sme.sk)
Main Node images from which all our Node flavors (versions with base, browsers...) are built. It is based on official Node images using our custom configuration. Additionally, it contains nginx, mariadb client packages and many more.
[[TOC]]
- Node 20
- NPM
- Yarn
- AuditJS
- Supervisor
- Nginx variant:
- Nginx
- Nginx-xslt
- Nginx-geoip
- Nginx-image-filter
- Nginx-njs
- Browsers variant:
- google chrome
- firefox
- xvfb + other X libs
See versions in version.conf file.
env-config
- Script to run setup of config.json file using .env files and exported variablesfix-user
- Corrects UID and GID for container user according to host UID and GID if needed
Setup pre-commit hook:
-
.git/hooks/pre-commit
#!/bin/bash # # Run update.sh script before commit ./update.sh git add .github build
Script:
./update.sh
This script has to be run before every commit.
Script is used to autogenerate following files/folders:
build/nodeXY/
- autogenerated from:config/all/
config/all-X.Y/
config/browsers/
config/browsers-X.Y/
config/nginx/
config/nginx-X.Y/
template.Dockerfile
variant-*.Dockerfile
versions.conf
.github/workflows/docker.yml
- autogenerated from:docker.yml.template
docker.yml.job.template
Do not change autogenerated files/folders directly.