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

Dockerfile: run as user: linuxbrew #11815

Merged
merged 1 commit into from
Aug 10, 2021
Merged

Dockerfile: run as user: linuxbrew #11815

merged 1 commit into from
Aug 10, 2021

Commits on Aug 3, 2021

  1. Dockerfile: run as user: linuxbrew

    This commit refactors the Dockerfile in order to resolve build errors
    caused by attempting to execute `brew` commands as the root user. We
    need to create the `/home/linuxbrew/.linuxbrew` folder prior to copying
    the local directory into `/home/linuxbrew/.linuxbrew/Homebrew` (and
    ensure the appropriate user owns it), as failing to do so will create
    `/home/linuxbrew/.linuxbrew` with root user and group ownership, causing
    the subsequent `mkdir` command called in the second `RUN` instruction to
    fail.
    
    closes #11802
    Benjamin Denhartog committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    77afe94 View commit details
    Browse the repository at this point in the history