ec icon indicating copy to clipboard operation
ec copied to clipboard

Add Containerfile for development

Open crawfxrd opened this issue 2 years ago • 2 comments

Add a command to create a Debian-based container with the SDCC and Rust toolchains installed in order to minimize the workspace setup time and ensure build environments are the same.

make -C containers
podman run -it --rm \
    -v $PWD:/workspace:Z \
    system76/ec:latest \
    make BOARD=system76/oryp8

A locally built image is 1.07 GiB.

crawfxrd avatar Oct 16 '23 23:10 crawfxrd

Should we update ec/scripts/deps.sh to include the podman dependency for containerized builds?

XV-02 avatar Jul 18 '24 19:07 XV-02

There is no integration for using the container yet, so podman is not a dependency.

crawfxrd avatar Jul 18 '24 20:07 crawfxrd