This application is a minimal Docker-based test for environment variable injection in a Pennsieve app.
When the container starts, it prints any environment variables whose names start with test, case-insensitively. For example, variables such as TEST_ONE, test_value, and TeStTwo will all be included in the output.
If no matching environment variables are present, the container prints:
No environment variables found with names starting with 'test'.
docker build -t pennsieve-env-var-test .Example with matching variables:
docker run --rm -e TEST_ONE=hello -e TeStTwo=world -e OTHER=nope pennsieve-env-var-testExample with no matching variables:
docker run --rm -e OTHER=nope pennsieve-env-var-test