haiku / haikudepotserver

Haiku Depot Server
Other
17 stars 10 forks source link

recreate the docker image build system #237

Closed andponlin closed 2 years ago

andponlin commented 2 years ago

This change moves the build into the process of building the Docker container. This will mean that builds are repeatable, will be safe from the possibility of a stray file not having been, can be integrated into CI/CD etc... This is achieved with a multistage Docker build. The automated testing will run inside the Docker build container and there are some changes here to support this in the test code.

Also a missing Open-API file was missing which has been added.

The idea is that @kallisti5 / @nielx would be able to run the ./build.sh from the top level of the project checked-out on a tag and it will produce an Image with the option of pushing it.