Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Expose buildkit port #413

Merged
merged 2 commits into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/docker/docker_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func GetDemoPorts() (map[nat.Port]struct{}, map[nat.Port][]nat.PortBinding, erro
"0.0.0.0:30000:30000", // Registry Port
"0.0.0.0:30001:30001", // Postgres Port
"0.0.0.0:30002:30002", // Minio API Port (use HTTP port for minio console)
"0.0.0.0:30003:30003", // Buildkit Port
})
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/docker/docker_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func TestGetOrCreateVolume(t *testing.T) {

func TestDemoPorts(t *testing.T) {
_, ports, _ := GetDemoPorts()
assert.Equal(t, 5, len(ports))
assert.Equal(t, 6, len(ports))
}

func TestCopyFile(t *testing.T) {
Expand Down