In docker compose I have
image: something:${EXTERNAL_COMPONENT_VERSION}
In the .env file I have:
EXTERNAL_COMPONENT_VERSION=1.0.0
Currently when using Infrascan docker image in BB pipelines , I have to do something like this:
- source scripts/.env && export EXTERNAL_COMPONENT_VERSION
- infrascan ...
where I source the .env file and export the configuration.
We could load such .env files associated with docker-compose.yml files out of the box to make setting up the build easier.
In docker compose I have
In the .env file I have:
Currently when using Infrascan docker image in BB pipelines , I have to do something like this:
where I source the .env file and export the configuration.
We could load such .env files associated with docker-compose.yml files out of the box to make setting up the build easier.