Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Dockerfile for OCI catalog. #6289

Merged
merged 3 commits into from
Jun 9, 2023
Merged

Conversation

absoludity
Copy link
Contributor

Description of the change

Creating the Dockerfile for the stubbed service now so that we can start the process for getting an official image in the bitnami pipeline.

I'll have another attempt at a static build for a scratch image before making the request.

Benefits

We can communicate a working Dockerfile for the official Bitnami image to be based on.

Possible drawbacks

Applicable issues

Additional information

$ IMAGE_TAG=dev1 make kubeapps/oci-catalog
...
$ docker run -p 50051:50051 docker.io/kubeapps/oci-catalog:dev1 

then in a separate terminal

$  grpcurl -proto ./proto/ocicatalog.proto -d '{"repository": {"registry": "registry-1.docker.io"}}' -plaintext "127.0.0.1:50051" ocicatalog.OCICatalog.ListTagsForRepository
{
  "name": "tag-0"
}
{
  "name": "tag-1"
}
{
  "name": "tag-2"
}
{
  "name": "tag-3"
}
{
  "name": "tag-4"
}
{
  "name": "tag-5"
}
{
  "name": "tag-6"
}
{
  "name": "tag-7"
}
{
  "name": "tag-8"
}
{
  "name": "tag-9"
}

Still want to keep trying to get a static build for a scratch image.

Signed-off-by: Michael Nelson <[email protected]>
@netlify
Copy link

netlify bot commented Jun 8, 2023

Deploy Preview for kubeapps-dev canceled.

Name Link
🔨 Latest commit 794c416
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/64826dfe1ef44d00082673e9

@absoludity absoludity merged commit 01606ca into main Jun 9, 2023
@absoludity absoludity deleted the 6263-oci-catalog-2-dockerfile branch June 9, 2023 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants