armada icon indicating copy to clipboard operation
armada copied to clipboard

Create an Armada Dockerfile for development

Open Sharpz7 opened this issue 3 years ago • 2 comments

The Idea

Create a Dockerfile that installs all the tools, programs and scripts that are needed to run armada. This would create a container that can be ssh'd in to and then create a reliable enviroment that always behaves the same.

Upgrades would be as simple as downloading the new Dockerfile. Scripts would get signifcantly simpler since you wouldn't need code for edgecases of different enviroments.

Documentaition advantage

Since every part of the setup will be present in the repo in some way, we can document it part by part, explaining each element.

Next Steps

Or, taking it a step further you could install a instance of remote vscode into the Dockerfile, and then set those up so people are able to deploy their own enviroment from the click of a button.

Looking even further forward, this could be standardised using coder, allowing teams to deploy armada dev instances on the fly with CPU and RAM requirements of your choosing.

Progress so Far

In terms of progress, I have gotten as far as getting vscode working remotely (in my own time), and running the armada-server commands. I had failed to get clients to connect, but this can likely be fixed with some smarter docker config.

Sharpz7 avatar Oct 07 '22 18:10 Sharpz7

Related to https://github.com/G-Research/armada/issues/981?

kannon92 avatar Oct 07 '22 18:10 kannon92

@kannon92 yeah, I'd say this is maybe an extention of that as we would also be supporting out own methods of install (i.e docker-compose)

Sharpz7 avatar Oct 07 '22 18:10 Sharpz7

Should we scope this down to just the vscode bit? I think there's another ticket for that somewhere, but it feels tantalizingly close to reality.

dave-gantenbein avatar Oct 18 '22 12:10 dave-gantenbein

Look like this is largely a duplicate of other efforts.

dave-gantenbein avatar Oct 31 '22 17:10 dave-gantenbein