Replies:

Hello,

And a great tutorial, thanks! One question tho. Do you know how to pass environment variables to the %Installer? In my scenario, I would like to configure a CI/CD pipeline and define some environment variables when building the docker container and reference those variables within the %Installer to create for ex. A specific user account (username and password as env variables). How can I achieve this?

I've tried setting the env variables within the Dockerfile with ENV someEnv="1234" and try to get the variable with %System.Util.GetEnviron("someEnv") within %Installer, but it just returns an empty string.

If you have any insight or tips, it would be appreciated.

Cheers!
Kari Vatjus-Anttila

Thank you very much for your response.

Yes, I think that might work in our situation. I will read the docs and look at the %ZSTART / OnStart routines and how to use it.

Thanks for the help!

Kari

Followers:
Kari has no followers yet.
Following:
Kari has not followed anybody yet.
Global Masters badges:
Kari has no Global Masters badges yet.