Simply create a Dockerfile with this at the top.
FROM ghcr.io/logicethos/duo-sdk-docker:latest
Here is an example to compile OpenSSL.
FROM ghcr.io/logicethos/duo-sdk-docker:latest
RUN wget https://www.openssl.org/source/openssl-1.1.1l.tar.gz \
&& tar -xzf openssl-1.1.1l.tar.gz \
&& cd openssl-1.1.1l \
&& ./Configure linux64-riscv64 shared no-asm --prefix=$BUILD_OUTPUT \
&& make && make install
You will find more details, and examples here: GitHub - logicethos/duo-sdk-docker: duo-sdk Docker base build