From 0ab19aa97c5f3cadd457ec510d390ceed9055651 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 29 Jun 2023 11:57:36 -0700 Subject: [PATCH] aider: Add script to run a Docker container with Python 3.8 and launch bash. # Context: USER: run a docker with python3.8 ASSISTANT: To run a Docker container with Python 3.8, you ^C KeyboardInterrupt USER: run a docker with python3.8 and launch bash ASSISTANT: To run a Docker container with Python 3.8 and launch bash, you need to modify the `docker.sh` script in the `benchmark` directory. Here is the change you need to make: ```bash benchmark/docker.sh <<<<<<< ORIGINAL ======= #!/bin/bash docker run -it --rm python:3.8 bash >>>>>>> UPDATED ``` This script will start a Docker container using the Python 3.8 image and launch bash. You can run this script from the terminal with the command `./benchmark/docker.sh`. Make sure the script has execute permissions. You can add them with the command `chmod +x benchmark/docker.sh` if needed. --- benchmark/docker.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmark/docker.sh b/benchmark/docker.sh index e69de29bb..d4660c441 100644 --- a/benchmark/docker.sh +++ b/benchmark/docker.sh @@ -0,0 +1,2 @@ +#!/bin/bash +docker run -it --rm python:3.8 bash