OpenPegasus / OpenPegasusDocker

Apache License 2.0
0 stars 0 forks source link

Moves almost all environment variables to a .env file #12

Closed KSchopmeyer closed 1 year ago

KSchopmeyer commented 1 year ago

This removes almost all of the build environment variables from the Dockerfile and puts them into a separate file that is attached to the build container when the container is started (docker run command --env-file option). That option is not REQUIRED on when the build container is required since that is the only source for most of the configuration parameters for OpenPegasus.

The only environment variables left in the Dockerfile are the default values for the directories and path in the build container which should not change, the OpenPegasus platform which must be 64 bit linux for ubuntu, and the git configuration which may be overridden by the .env file.