FAQ-BUILD: Fix answer to #14
PATCH 1/1 FAQ-BUILD: Fix answer to #14
From bc1d4d5dac45513181c60bc3877a743c08991a8f Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
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.
--- FAQ-BUILD.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
FAQ-BUILD.txt +7 -2
@@ -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
Signature · 1 line
2.17.1
Paul E. McKenney
AppliedQuoted 8 lines · Akira Yokosawa
Quoted 1 line
From
bc1d4d5dac45513181c60bc3877a743c08991a8fMon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Tue, 12 Jan 2021 20:32:11 +0900
Subject: [PATCH -perfbook] FAQ-BUILD: Fix answer to #14There were some confusions in the answer updated in commit
5462db2929fa("Add Fedora-based Dockerfile").
Quoted 7 lines
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 <[email protected]>
I queued and pushed both, thank you!
Thanx, Paul
Quoted 34 lines
--- FAQ-BUILD.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)FAQ-BUILD.txt +7
-2@@ -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 imageSignature · 1 line
2.17.1