Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Missing workdir "/opt/build" in build container. #794

Open
lvwvm opened this issue Jun 20, 2022 · 0 comments · May be fixed by #795
Open

Missing workdir "/opt/build" in build container. #794

lvwvm opened this issue Jun 20, 2022 · 0 comments · May be fixed by #795
Labels
type: bug code to address defects in shipped code

Comments

@lvwvm
Copy link

lvwvm commented Jun 20, 2022

Running test-build.sh returns

Error: workdir "/opt/build" does not exist

This is due to the --workdir option passed to docker.
The option either needs to be removed or the directory created in the build-image.

To Reproduce

Steps to reproduce the behavior:

First checkout the focal branch

$ ./test-tools/test-build.sh <path-to-repo> 'npm run build'
Using temp cache dir: tmp/tmp.XXXXX/cache
Error: workdir "/opt/build" does not exist on container...

Additional Context

OS - 5.10.102.1-microsoft-standard-WSL2 via Windows 10
Podman - 4.1.1

@lvwvm lvwvm added the type: bug code to address defects in shipped code label Jun 20, 2022
@lvwvm lvwvm linked a pull request Jun 20, 2022 that will close this issue
@lvwvm lvwvm changed the title test-build.sh: error: workdir "/opt/build" does not exist Missing workdir "/opt/build" in build container. Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant