Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create home directory in docker images #4987

Merged
merged 1 commit into from
Sep 18, 2024

Commits on Sep 18, 2024

  1. Create home directory in docker images

    The recent change to use `useradd -M` in baseos and ccenv
    Docker images caused building of Go chaincodes to fail with error:
    
    "failed to initialize build cache at /home/chaincode/.cache/go-build: mkdir /home/chaincode: permission denied"
    
    Changing it back to allow creation of the chaincode home directory
    with `useradd -m` solves the problem.
    
    Signed-off-by: David Enyeart <enyeart@us.ibm.com>
    denyeart committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    5824868 View commit details
    Browse the repository at this point in the history