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

feat: rootfs - build/upload action and Dockerfile #125

Merged
merged 1 commit into from
Jul 27, 2023

Commits on Jul 27, 2023

  1. feat: rootfs - build/upload action and Dockerfile

    In order to facilitate Finch on Windows, we need a root filesystem. We
    will use this Dockerfile as a basis for that root filesystem - using
    `docker export` to turn a built container into an archived rootfs. For
    the scope of these changes, create the Dockerfile and an action that
    runs on changes to the file to build and push to ECR repo.
    
    In order to create the container used as an intermediate step to export
    its rootfs, we need to tell buildkit to load the image into Docker. This
    exposes a limitation of buildkit to load multiplatform images, thus why
    the action runs two build-rootfs-image jobs - one for each arch.
    
    Additionally, network performance of the arm64 build is quite slow -
    downloads of packages via dnf are on the scale of kb/s (but this has not
    been observed on Ubuntu or Alpine images)
    
    Signed-off-by: Gavin Inglis <[email protected]>
    ginglis13 committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    5360963 View commit details
    Browse the repository at this point in the history