Small example of a Docker container that clones a Python repo on boot and exposes it in openvscode-server.
To build the image:
docker build -t gitpod-docker .
To run the container:
docker run --rm -it -p 3000:3000 gitpod-docker https://github.com/jrderuiter/penguins
Note you can change the last argument to point to any public repo.
- Error handling for missing arguments to the container.
- Much more...