Skip to content
Snippets Groups Projects
user avatar
lcappelli authored
DEV_USER -> USERNAME
DEV_USER_UID -> USER_UID
DEV_GID -> USER_GID

See the best practise:
https://github.com/microsoft/vscode-dev-containers
d6149142
History

This folder contains the environment definition as a Docker image for the development of openresty-voms. It can be used as Dev Container in Visual Studio Code.

The assets folder contains all the scripts needed for the build of the Dockerfile and for the definition of the environment:

  • setup.sh installs the packages for the development
  • provide-user.sh creates the DEV user
  • build-install-openresty.sh configures, builds and installs openresty as a check to see if everything is ok
  • user-setup.sh sets the user environment
  • build_install-ngx-voms.sh installs openresty-voms. It is only copied in the image, the user can run it inside the container
  • install-build-deps.sh is used by the CI to install the packages for the deployment environment