Removing all unused files from Docker image

I had a situation where I had to build an app from SDCard image (block device) and containerize it. Since image was over 7 GiB I had to somehow remove all unused files from it to keep it as slim... Read more

Debian Package tips&tricks

List Trusted Keys Preparing Debian for minimal docker image Read more

Creating an Docker image from image file

I had to create a base Docker image from OrangePI 5 OS so that some applications which are dependant on system libraries (libmali and platform gstreamer hw accelerator libs) could be built and ran on OS. First we need to... Read more

Calling Conventions

ARM64 For this architecture functions arguments are passed via registers x0-x7. x0 is also a return value register. Read more

GDB tips&tricks

Common commands Remote Debug On machine serving port To attach Read more

Rotate Linux FB terminal

Read more

Configuring WIFI with nmcli

Read more

Qemu Tips&Tricks

Running binaries from other platform Linux via Qemu supports the ability to introspect platform (arch) from the binaries and thenautomatically to run them via registered emulator. The whole process is involved, but thankfully, using the docker-images whole process is streamlined... Read more

Docker Ticks&Tips

Pulling image for different platforms Dockerizing binary Pruning Docker resources Docker by default does not remove stopped container without –rm flag. The same is true for unused images. This starts becoming a problem after some time as disk space is... Read more

Yocto Bitbake Build Process

In this document I’ll try to document learning process of Bitbake build system. Initial steps Checkout the yocto build Run the build for x86-64 build This will download and run all relevant commands to build final runnable image. High-Level process... Read more