Skip to content

Commit b54935a

Browse files
committed
Update to console, reference registry-facade
1 parent 5265fcc commit b54935a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

components/image-builder-bob/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@ For each image build, a headless workspace gets created in the meta cluster by `
1111
- **workspace image**, which builds an image from the base layer, where the base layer is either a previously built custom Dockerfile or a public image.
1212
These images get pushed over `localhost` to `bob proxy`, as `bob build` does not receive the credentials to push to private registries.
1313

14+
The built images do not include e.g. `supervisor` or the IDE, these layers will get added by [`registry-facade`](../registry-facade/README.md) during image pull.
15+
1416
## How to try locally
1517

1618
Prerequisite: make sure you have buildkit in the path
17-
```bash
19+
```console
1820
cd /tmp
1921
curl -OL https://github.com/moby/buildkit/releases/download/v0.10.0/buildkit-v0.10.0.linux-amd64.tar.gz
2022
tar xzfv buildkit-v0.10.0.linux-amd64.tar.gz
2123
sudo mv bin/* /usr/bin
2224
```
2325

2426
Set things up
25-
```bash
27+
```console
2628
# install oci-tool for inspecting the built image
2729
go install github.com/csweichel/oci-tool@latest
2830

@@ -41,7 +43,7 @@ docker push localhost:5000/source:latest
4143
```
4244

4345
Build and run
44-
```bash
46+
```console
4547
# build and install bob (do this after every change)
4648
cd /workspace/gitpod/components/image-builder-bob
4749
go install
@@ -55,7 +57,7 @@ BOB_BASE_REF=localhost:5000/source:latest BOB_TARGET_REF=localhost:5000/target:8
5557

5658
## Run tests
5759

58-
```bash
60+
```console
5961
cd /workspace/gitpod/components/image-builder-bob
6062
go test -v ./...
6163
```

components/image-builder-mk3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Relevant:
1515
To test local changes, the following script will compile and publish a docker image,
1616
and restart the image-builder-mk3 k8s deployment at your current kube context with this image:
1717

18-
```bash
18+
```console
1919
# Careful: check you're pointing at the right cluster!
2020
components/image-builder-mk3/debug.sh
2121
```
@@ -32,6 +32,6 @@ Changes to the installed k8s config can be done [here](../../install/installer/p
3232

3333
To run all `image-builder-mk3` tests:
3434

35-
```bash
35+
```console
3636
go test -v ./...
3737
```

0 commit comments

Comments
 (0)