This repo provides build instructions for a docker image that can be used to deploy a instance of ArtifactDB, ie. backend/api. The image itself can be:
- used as-is to run a vanilla instance, without any customizations. The app/api code used can be found under
srcfolder. - used as base image for instance requiring custom logic (eg. custom REST API endpoints, custom backend tasks, etc...). Such a customize
instance would then provide the equivalent of the
srcfolder, overriding eg. manager classes, configuration sections, etc...
This project uses the following Git submodules to calculate version hashes:
To clone this repository with the submodules, use the following command:
$ git clone --recurse-submodules [email protected]:ArtifactDB/artifactdb-docker.gitIf you have already cloned the repository without the submodules, you can initialize them with the following command:
$ git submodule update --initmake image should do the trick, while make push will push the image in the ghcr repo.