tianocore.github.io icon indicating copy to clipboard operation
tianocore.github.io copied to clipboard

Missing EDK2_DOCKER_USER_HOME when following instructions

Open godmar opened this issue 7 months ago • 1 comments

To reproduce:

docker pull ghcr.io/tianocore/containers/ubuntu-22-dev:latest
CONTAINER_DIR=/devel
CONTAINER_NAME=tianocore-dev
docker run -i -v $(realpath code):${CONTAINER_DIR} \
    --workdir=${CONTAINER_DIR} \
    --name=${CONTAINER_NAME} \
    ghcr.io/tianocore/containers/ubuntu-22-dev:latest

results in:

Missing EDK2_DOCKER_USER_HOME
Please add the following to the docker command, before the image name, and run again
  -v "${HOME}":"${HOME}" -e EDK2_DOCKER_USER_HOME="${HOME}"

Searching for EDK2_DOCKER_USER_HOME yields zero results:

Image

Desired output: following the instructions should yield a working system. If environment variables are required, their purpose should be documented before or when they are needed.

godmar avatar May 19 '25 15:05 godmar

PS: I'm trying to find the build instructions.

I click on EDK II Build Instructions and there it says:

If you just want to get started quickly and be able to receive the best support possible (since issues in containers are easy to reproduce, fix, and deploy), then start with the container instructions.

Except there is no link to these instructions. The link "build instructions" refers back to the page.

godmar avatar May 20 '25 12:05 godmar