aider/benchmark/docker.sh
Paul Gauthier 0ab19aa97c 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.
2023-06-29 11:57:36 -07:00

2 lines
48 B
Bash

#!/bin/bash
docker run -it --rm python:3.8 bash