Skip to content

A programming framework for agentic AI

Fix branch info for `docker build` (#1935)

Benjamin Muskalla4a85b6321699
diff --git a/website/docs/Contribute.md b/website/docs/Contribute.md
index c2daf7e9a..2884b6dfa 100644
--- a/website/docs/Contribute.md
+++ b/website/docs/Contribute.md
@@ -106,7 +106,7 @@ For developers contributing to the AutoGen project, we offer a specialized Docke
- To build the developer Docker image (`autogen_dev_img`), use the following commands:
```bash
- docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git
+ docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git#main
```
- For building the developer image built from a specific Dockerfile in a branch other than main/master
@@ -232,7 +232,7 @@ Most changes are reflected live without having to restart the server.
To build and test documentation within a docker container. Use the Dockerfile in the `dev` folder as described above to build your image
```bash
-docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git
+docker build -f .devcontainer/dev/Dockerfile -t autogen_dev_img https://github.com/microsoft/autogen.git#main
```
Then start the container like so, this will log you in and ensure that Docker port 3000 is mapped to port 8081 on your local machine
diff --git a/website/docs/installation/Docker.md b/website/docs/installation/Docker.md
index 95ebecada..9e1ca3911 100644
--- a/website/docs/installation/Docker.md
+++ b/website/docs/installation/Docker.md
@@ -20,13 +20,13 @@ AutoGen now provides updated Dockerfiles tailored for different needs. Building
- **Autogen Basic**: Ideal for general use, this setup includes common Python libraries and essential dependencies. Perfect for those just starting with AutoGen.
```bash
- docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git
+ docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git#main
```
- **Autogen Advanced**: Advanced users or those requiring all the things that AutoGen has to offer `autogen_full_img`
```bash
- docker build -f .devcontainer/full/Dockerfile -t autogen_full_img https://github.com/microsoft/autogen.git
+ docker build -f .devcontainer/full/Dockerfile -t autogen_full_img https://github.com/microsoft/autogen.git#main
```
## Step 3: Run AutoGen Applications from Docker Image