Skip to content

[OSS 1/1] Port over the container code from the kernel repo + add OSS docs#1

Merged
mertcelebi merged 6 commits intomainfrom
fmc/containers-cleanup
Apr 7, 2025
Merged

[OSS 1/1] Port over the container code from the kernel repo + add OSS docs#1
mertcelebi merged 6 commits intomainfrom
fmc/containers-cleanup

Conversation

@mertcelebi
Copy link
Contributor

@mertcelebi mertcelebi commented Mar 30, 2025

This PR:

  • Adds OSS docs to this repo
  • Updates the container code (small rename of the folder)
  • Adds a GitHub action to automatically push to DockerHub (would love feedback on it)

@mertcelebi mertcelebi requested review from juecd and removed request for juecd March 30, 2025 22:02
@mertcelebi mertcelebi marked this pull request as draft March 30, 2025 22:05
@mertcelebi mertcelebi force-pushed the fmc/containers-cleanup branch from 997eecf to 700242b Compare March 30, 2025 22:17
@mertcelebi mertcelebi force-pushed the fmc/containers-cleanup branch from 4ff4c00 to 35fe876 Compare April 2, 2025 01:56
@mertcelebi mertcelebi marked this pull request as ready for review April 2, 2025 01:57
@mertcelebi mertcelebi requested a review from juecd April 2, 2025 01:57
@mertcelebi mertcelebi force-pushed the fmc/containers-cleanup branch from b6cf9bf to f4b4c6d Compare April 3, 2025 19:42
@mertcelebi mertcelebi force-pushed the fmc/containers-cleanup branch from f4b4c6d to f4fd432 Compare April 3, 2025 19:43

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
[INSERT CONTACT METHOD].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh nvm I see you have oss@onkernel.com - that's fine, I'll make that alias

CONTRIBUTING.md Outdated
## Communication

- GitHub Issues: Bug reports, feature requests, and discussions
- [Discord](https://discord.gg/Q6WPxeaj): For general questions and community discussions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that one expired, let's replace it with this (we should do this across the board): https://discord.gg/FBrveQRcud

@@ -0,0 +1,93 @@
# Contributing to Kernel
Copy link
Contributor

@juecd juecd Apr 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add CODEOWNERS to this repo? As well as protect main - we can do that after we merge this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main protection will be in place per the technical plan after we merge all the PRs across the repos. I don't think we need CODEOWNERS for now.

README.md Outdated
git clone https://github.com/onkernel/kernel-containers.git
cd kernel-containers
docker build -t kernel -f containers/docker/Dockerfile .
docker build -t kernel -f containers/cu/Dockerfile .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blocking, but I'm not sure I agree with /cu/ - I assume it's because it's based off Anthropic's Computer Use image? IMO that was more of a prototype quickly decision than a long term one.

Copy link
Contributor Author

@mertcelebi mertcelebi Apr 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want just docker? I just copied it from the Kernel repo, I don't mind either way. Feel free to also comment on the DockerHub repo name specified in the action.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah let's just keep it 'docker' - will do on your 2nd point

- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./containers/cu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prob needs to be updated per our other thread

push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/kernel-computer-use:${{ github.event.inputs.tag }}
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/kernel-computer-use:buildcache
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/kernel-computer-use:buildcache,mode=max
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's call this.... /kernel-chromium

@mertcelebi mertcelebi merged commit e5717bd into main Apr 7, 2025
@mertcelebi mertcelebi deleted the fmc/containers-cleanup branch April 7, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants