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

Add initial support for bunnyfile #3

Merged
merged 3 commits into from
Jan 13, 2025
Merged

Add initial support for bunnyfile #3

merged 3 commits into from
Jan 13, 2025

Conversation

cmainas
Copy link
Collaborator

@cmainas cmainas commented Jan 10, 2025

Add an initial support for a new file format, which will be the base for the bunnyfile. Moreover, add documentation for the new file format.

Add support to read and create the unikernel OCI image for urunc,
reading a yaml file that has the structure of bunnyfile.

Signed-off-by: Charalampos Mainas <[email protected]>
Since bunny wants to keep backwards compatibility with pun, we need to
keep the handling of Dockerfile-like files. Hence, we need to identofy
the format of the given file between a Dockerfile and a bunnyfile. For
that purpose, we check the first non-empty line of the file under
@syntax and if it starts with FROM we assume a Dockerfile and call the
respective function. Otherwise, we call the bunnyfile handler.

Signed-off-by: Charalampos Mainas <[email protected]>
Update the README file to provide information regarding the bunnyfile
and an explanation of each supported field for the current state.

In addition, move the annotations section in a separate file under the docs
directory.

Furthermore, create an examples directory and an example for Nginx and
Unikraft to further help the understanding and transition to bunny and
bunnyfile.

Signed-off-by: Charalampos Mainas <[email protected]>
@cmainas cmainas merged commit 577b929 into main Jan 13, 2025
3 checks passed
@cmainas cmainas deleted the bunnyfile branch January 13, 2025 18:01
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.

1 participant