On Tue, Jan 12, 2021 at 08:41:24PM +0900, Akira Yokosawa wrote: > >From bc1d4d5dac45513181c60bc3877a743c08991a8f Mon Sep 17 00:00:00 2001 > From: Akira Yokosawa <akiyks@xxxxxxxxx> > Date: Tue, 12 Jan 2021 20:32:11 +0900 > Subject: [PATCH -perfbook] FAQ-BUILD: Fix answer to #14 > > There were some confusions in the answer updated in commit > 5462db2929fa ("Add Fedora-based Dockerfile"). > > If you have a different uid:gid pair, you need to explicitely > specify them in a "-u" option to the "docker run" command. > > Also fix the tag name of the Fedora-based container image. > > Fixes: 5462db2929fa ("Add Fedora-based Dockerfile") > Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> I queued and pushed both, thank you! Thanx, Paul > --- > FAQ-BUILD.txt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/FAQ-BUILD.txt b/FAQ-BUILD.txt > index a7a0711d..0d3330b3 100644 > --- a/FAQ-BUILD.txt > +++ b/FAQ-BUILD.txt > @@ -297,7 +297,12 @@ > > Note: > The prebuilt container image assumes <uid:pid> = <1000:1000>. > - If you have different IDs, bash prompt will be in the > + If you have different IDs, you can still run the image by > + adding the option: > + > + -u $(id -u):$(id -g) > + > + to the "docker run" command. The bash prompt will be in the > form of "I have no name!@abcdef012345:/work$". Builds of > perfbook will nevertheless succeed. You can also build > a container image of your own: > @@ -307,7 +312,7 @@ > --build-arg uid=$(id -u) --build-arg gid=$(id -g) . > > For those prefer a Fedora-based container image, > - akiyks/perfbook-build-focal:latest is also available. > + akiyks/perfbook-build-fedora:latest is also available. > It is built from docker/Dockerfile.fedora. > > If you have podman already installed, you can run the image > -- > 2.17.1 >