tianocore.github.io
tianocore.github.io copied to clipboard
Missing EDK2_DOCKER_USER_HOME when following instructions
To reproduce:
- Follow EDK2 Build Instructions
- Follow Manually configuring the container
- Run:
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:
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.
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.