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: BUILDING.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,29 @@ To revert to using the Containerization dependency from your `Package.swift`:
127
127
bin/container system start
128
128
```
129
129
130
+
## Develop using a local copy of container-builder-shim
131
+
132
+
To test changes that require the `container-builder-shim` project:
133
+
134
+
1. Clone the [container-builder-shim](https://github.com/apple/container-builder-shim) repository and navigate to its directory.
135
+
136
+
2. After making the necessary changes, build the custom builder image, set it as the active builder image, and remove the existing `buildkit` container so the new image will be used:
137
+
138
+
```bash
139
+
container build -t builder .
140
+
container system property set image.builder builder:latest
141
+
container rm -f buildkit
142
+
```
143
+
144
+
3. Run the `container` build as usual:
145
+
146
+
```bash
147
+
container build ...
148
+
```
149
+
150
+
> [!IMPORTANT]
151
+
> If your modified builder image is broken, make sure to rebuild and correctly tag the builder image before attempting to build `container-builder-shim` again.
152
+
130
153
## Debug XPC Helpers
131
154
132
155
Attach debugger to the XPC helpers using their launchd service labels:
0 commit comments