Environments image
/cc @omame
Merge request reports
Activity
A couple of notes:
-
We don't need the full ubuntu image for this. A nicely crafted alpine will definitely fit the bill here. After all it just needs to run three terraform commands: remote, plan and apply. This is a good example but keep reading.
-
Since it's so generic we can just call this
Dockerfile.terraform
as we may need it for something else. For instance, there are already talks of splitting the current environments repo. -
Make sure we don't use
ENTRYPOINT
, like you're doing here. It makes our lives easier since we have to run two terraform commands, one to configure the remote state and one to plan or apply.
-
Since it's so generic we can just call this
Dockerfile.terraform
Ill keep a version still for a bit, as this way we could decouple updates from each other
We don't need the full ubuntu image for this. A nicely crafted alpine will definitely fit the bill here
Lets start simple, improve later. WDYT?
enabled an automatic merge when the pipeline for 9550d11e succeeds