Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

centos: mount point should be one directory up #301

Open
gnimmagadda opened this issue May 6, 2019 · 0 comments
Open

centos: mount point should be one directory up #301

gnimmagadda opened this issue May 6, 2019 · 0 comments

Comments

@gnimmagadda
Copy link

For centos builds
docker run --privileged -v $(pwd):/workspace builder /build.sh

mounting $(pwd) results in base-images-docker/centos but build.sh looks for: tar -C /target -cf /workspace/centos/layer.tar .

and it fails because /workspace/centos dir doesn't exist (host side will be centos/centos).

Either need to mount one dir up $(pwd)/..:/workspace or cd to one dir and to start the builder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant