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 Containerfile for development #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add Containerfile for development #493

wants to merge 1 commit into from

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Oct 17, 2023

Add a command to create a Debian-based container with the coreboot toolchains, SDCC and Rust installed in order to minimize the setup time of a container-based workflow, such as CI.

make -C containers
podman run -it --rm \
    -v $PWD:/workspace:Z \
    -v ~/.ccache:/root/.ccache:Z \
    system76/firmware-open:latest \
    ./scripts/build.sh oryp8

A locally built image is 2.86 GiB.

Ref: #463

TODO (later)

  • Versioning for the container?
  • Build from CI and publish somewhere? (publish/pull from ghcr.io)
  • Simplify using it for local development? (don't require typing the full podman command)
  • Get Jenkins to use it?
  • Microsoft's devcontainers?

Add a command to create a Debian-based container with the coreboot
toolchains, SDCC and Rust installed in order to minimize the setup time
of a container-based workflow, such as CI.

    make -C containers
    podman run -it --rm \
        -v $PWD:/workspace:Z \
        -v ~/.ccache:/root/.ccache:Z \
        system76/firmware-open:latest \
        ./scripts/build.sh oryp8

A locally built image is 2.86 GiB.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
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.

None yet

1 participant