Speaker
Description
What if you could pick apart a deb (a software package format used primarily by Debian and its derivatives such as Ubuntu) while retaining its functionality? Push the limits of how lean, and by extension, secure, it can be?
Now, you don't need to be a security engineer or operating system expert to do this. With chisel, a command-line tool pioneered by Ubuntu and Canonical, we'll see just how developer-friendly it can be.
Join me for a 30-min, hands-on workshop where I introduce chisel, use it to "slice" the debs that valkey is based on, and finally apply this work to build a very lean OCI image for the popular key-value db. You'll see how, with just over 15 minutes of work, we can build an image that's several MBs lighter than the existing image on DockerHub. But more important: mitigates nearly all 9 critical CVEs* found in the same!
This workshop will cover:
- chisel, the concept of "slices" and CVE reduction
- how to approach the task of slicing a deb, and a note on design decisions
- how to use chisel to actually cut a slice
- how to test and validate your slice(s)
- an agent skill to boost your slicing capabilities
- how to use your slices to build lean OCI images for your apps, as an alternative to regular Docker images
Prerequisites
- Knowledge: just basic deb interaction; I'm sure you've done an apt get install <package>, haven't you?
- Installation: before you arrive, ensure you install Multipass, use it to launch a VM in which we can work. Then, install chisel within this, and (for a demo of a use-case for slices) rockcraft too. Step by step instructions
- Follow the steps outlined in the "Setup your environment" section of this document. This should walk you through setting up a VM with Multipass, and installing Docker, Rockcraft and other necessary tools within it.
- Finally, (still within the VM) install chisel too: sudo snap install chisel
Speaker Bio
A classic full-stack dabbler, I’ve worked across domains and technologies, from mobile and game frontends to engineering microservices for travel workflows. Tech wasn’t always the plan though; I once saw coding as an exclusive club I didn't belong to. Community changed that, and today I’m driven by a love for building and enabling others. I write, run workshops, and host hackathons. Placing open-source at the heart of this makes it even better. At Canonical, I help bring open-source tools to builders worldwide.
Summary
Join me for a 30-min, hands-on workshop where I introduce Chisel, a CLI tool on Ubuntu that lets you "slice" a deb and mitigate vulnerabilities. We'll work on a practical example: how to use Chisel to slice the debs that Valkey is based on, and finally apply this work to build a very lean OCI image for the popular key-value db. You'll see how, with just over 15 minutes of work, we can build a container image that's several MBs lighter than the existing image on DockerHub. But more important: mitigates nearly all critical CVEs* found in the same!
| Speaker LinkedIn / Socials | https://www.linkedin.com/in/soundarya-rangarajan/ |
|---|---|
| Difficulty | Beginner |