Open kbuffardi opened 1 week ago
@KavetiRohith as you start working on this, can you advise on where in the file structure you would like us to place all the Dockerfiles for the different languages? The dockerfiles may come along with accompanying files/folders (such as scripts that run the tests) so we might want to have a dedicated subdirectory for each language.
Then, once we determine that, I'll contribute the dockerfiles (and associated files).
We will have a dedicated docker image for each of the languages supported (i.e. for now, python, java, and c++). When the server starts up, it should go through a list of the languages and for each one, build it's corresponding image.
The
docker build
command already bypasses up-to-date layers (and/or entire images) so it shouldn't be too harmful for us to give the command to (re)build it on server start even if the server successfully built it upon a previous start. However, we do want to update the container when the Dockerfile has been updated, whichbuild
should recognize. The built images should be namedcodewit_eval_python
codewit_eval_java
andcodewit_eval_cpp
respectively.