Does anyone know of an AI tool to take a shell script made for setting up an environment in i.e. Ubuntu Server 22.04 and Dockerizing it effectively? (bonus points if it can determine when to grab alpine linux > ubuntu)
Right now I have a shell script that installs and configures: Apache or Nginx based on arg1 MySQL (Dynamic schema, table, users/passwords based on arg2) Gets and installs newest LTS version of node (because for some reason Ubuntu is still shipping with 12!)* Gets and installs Laravel, installing with jetstream, git repo, etc.
If I attempt to Dockerize with gpt-4, I'm missing communication between the application and the web server. I assume because it's a non-issue when on the same server/in the bash script, but becomes relevant in the Docker environment (separate containers).
P.S. I've manually fixed it with relative ease - but looking for a robust solution to handle this without manual corrections.
P.S.S. gpt-4 with good system/function messages and solid prompting returns surprisingly good results for a generalized LLM, but I'm looking for an application or library with access to a fine-tuned generalized model, or a model trained specifically for this task.