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
1. Set up docker local docker registry by running:
9
+
10
+
```sh
11
+
docker run -d -p 5001:5000 --restart always --name docker-registry registry:3
12
+
```
13
+
14
+
1. Use [bake.sh](./bake.sh) to build all containers with docker. This includes base image, operator, and distiller-streaming. You should do the following
15
+
16
+
```sh
17
+
./bake --push-local --build-base
18
+
```
19
+
20
+
This will push everything to the local registry, instead of pushing up to GitHub packages. You can also omit `--build-base` to avoid building base images for faster iteration.
21
+
22
+
1. Set your `.env` file in the operator directory to have the correct podman socket (see [`.env.example`](./.env.example))
23
+
1. Use poetry environment from root directory [pyproject.toml](../pyproject.toml) and run the following:
24
+
25
+
```sh
26
+
poetry run python pull_images_from_bake.py
27
+
```
28
+
29
+
This will pull local registry images into podman and tag them appropriately with [`pull_images_from_bake.py`](./pull_images_from_bake.py). This also runs at the end of [`bake.sh`](./bake.sh) if`--pull-local` is given.
30
+
31
+
The [build_all.sh](./build_all.sh) script was used before, but it is cumbersome so I am not updating it.
0 commit comments