You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/README.md
+35-6Lines changed: 35 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,13 +89,10 @@ equivalent containers as [described above](#building-docker-images-with-gnu-make
89
89
### Jenkins Integration
90
90
91
91
[`Makefile`](Makefile) has special targets for building, pushing and running the Docker build image used on Jenkins.
92
-
The full image name and tag is defined in [`L0_MergeRequest.groovy`](../jenkins/L0_MergeRequest.groovy). The `make`
93
-
system will parse this name as the value of `LLM_DOCKER_IMAGE`. To build and push a new Docker image for Jenkins,
94
-
define a new image name and tag in [`L0_MergeRequest.groovy`](../jenkins/L0_MergeRequest.groovy) and run
92
+
The full image names and tags are defined in [`current_image_tags.properties`](../jenkins/current_image_tags.properties). The `make`
93
+
system will parse the names/tags from this file.
95
94
96
-
```bash
97
-
make -C docker jenkins_push
98
-
```
95
+
#### Running
99
96
100
97
Start a new container using the same image as Jenkins using your local user account with
101
98
@@ -134,6 +131,38 @@ make -C docker trtllm_run LOCAL_USER=1 DOCKER_PULL=1
134
131
The argument `DOCKER_PULL=1` instructs `make` to pull the latest version of the image before deploying it in the container.
135
132
By default, the release images built in the above manner are tagged by their `git` branch name and may be frequently updated.
136
133
134
+
#### Building CI images
135
+
136
+
To build and push a new Docker image for Jenkins, define new image names and tags in [`current_image_tags.properties`](../jenkins/current_image_tags.properties) and run
Alternatively, it is possible to trigger the image build by opening a new pull request and commenting
158
+
159
+
```text
160
+
/bot run --stage-list "Build-Docker-Images"
161
+
```
162
+
163
+
The resulting images can then be re-tagged using `scripts/rename_docker_images.py`
164
+
and the new tags included in [`current_image_tags.properties`](../jenkins/current_image_tags.properties).
165
+
137
166
### Docker rootless
138
167
139
168
Some aspects require special treatment when using [Docker rootless mode](https://docs.docker.com/engine/security/rootless/). The `docker/Makefile` contains heuristics to detect Docker rootless mode. When assuming
0 commit comments