SUSE / aimaas

Abstract Information Management and Authority Service
GNU General Public License v3.0
12 stars 6 forks source link

Create convenient way to set up "standard" containerised dev environment for local development #210

Open der-gabe opened 1 month ago

der-gabe commented 1 month ago

User Story

As a developer I want a quick way to set up and use a local development environment to be able to develop with ease and confidence and improve the onboarding experience.

There should be a very simple "standard" way to set up a development environment that should always work and and shouldn't be allowed to break. If any proposed changes would break it, it must be fixed in the same branch, before it is merged.

Acceptance Criteria

tgeek77 commented 1 month ago

I would suggest using LXD. You can do the following in a few steps that can all be put in 1 bash script:

  1. Spin up the container with lxd launch
  2. Copy over a configuration file (ansible, salt) with lxd copy
  3. Install the config system with zypper and run the config file to set up everything else. in 1-2 minutes (depending on system speed), you should have a completely ready dev environment.

Another potential option is with distrobox.