• Ivan Shapovalov's avatar
    Dockerfile.dapper: set $HOME properly · a38820a9
    Ivan Shapovalov authored
    `$HOME` refers to `$DAPPER_SOURCE`, which is set in the same expression
    and is thus not visible at the time of substitution.
    
    This problem is not immediately visible with Docker, Inc.'s docker
    merely because it resets an unset `$HOME` to `/root` (but still breaking
    the Go cache). Under podman, this problem is immediately visible because
    an unset `$HOME` remains unset and subsequently breaks the `go generate`
    invocation.
    
    Fixes #9089.
    Signed-off-by: 's avatarIvan Shapovalov <intelfx@intelfx.name>
    (cherry picked from commit a7fe1aaa)
    Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
    a38820a9
Dockerfile.dapper 2.42 KB