run `./generate-env` script in docker container
The generate-env
script has a number of dependencies.
We should either build or find an suitable image containing these dependencies already so that we run generate-env
in a docker container
We do have a solution for this. See: https://gitlab.rz.htw-berlin.de/snet-asclepios-demo/snet-asclepios-deployment/-/blob/master/configure#L56
But we are not using it (by disabling it with the .configure.hostgen
feature flag.) due to issue #39
Definition of Done:
IDEA 1, (more work, more maintenance, runs faster)
-
either build or find a light weight docker image containing dependencies -
run ./generate-env
inside a docker container using that image
IDEA 2: (less work, less maintenance, slow because deps install on every run) (blocked by #39)
-
move the content of generate-env
into it's own script in/bin
-
add dependency installation to the new script -
run that script in a generic docker containing using a generic debian image
hints:
Maybe we should just maintain one build/configure/deploy docker image with all our dependencies, then run each stage of the deployment with that image
Edited by Ilka Schulz