User:Sam/Quick Docker

Sometimes it's useful to be able to give a Dockerfile to e.g. upstreams to easily reproduce a bug.

Examples

 * mold
 * libcap

Usage
Grab Docker itself:

Create the Dockerfile we're going to use (this example is for the libcap bug linked above):

Run it:

Tips
RUN echo -e "[binhost]\npriority = 9999\nsync-uri = https://gentoo.osuosl.org/experimental/amd64/binpkg/default/linux/17.1/x86-64/\n" | cat >> /etc/portage/binrepos.conf RUN echo 'EMERGE_DEFAULT_OPTS="--binpkg-respect-use=n --getbinpkg=y --autounmask-write --autounmask-continue --autounmask-keep-keywords=y --autounmask-use=y"' | cat >> /etc/portage/make.conf
 * Use the desktop image if need e.g. Xorg for test suites
 * Use the experimental binpkg host
 * 1) TODO: May be able to drop this once changed to desktop docker images?
 * 2) https://dilfridge.blogspot.com/2021/09/experimental-binary-gentoo-package.html