[
https://issues.apache.org/jira/browse/YUNIKORN-3467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
TingYao Huang resolved YUNIKORN-3467.
-------------------------------------
Fix Version/s: 1.11.0
Target Version: 1.11.0
Resolution: Fixed
> Support podman for building web image
> -------------------------------------
>
> Key: YUNIKORN-3467
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3467
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: build, webapp
> Reporter: TingYao Huang
> Assignee: weichen lai
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.11.0
>
>
> The yunikorn-web Makefile hard-codes {{docker}} for image build, container
> run, and reproducible binary build. Users without docker installed cannot
> build the web image.
> The reproducible build path also uses an unqualified short name
> {{{}golang:$(GO_REPRO_VERSION){}}}, which fails under podman with
> short-name-mode=enforcing.
> The REPRODUCIBLE_BUILDS=1 path mounts the repo into the container and runs go
> build as root. Since Go 1.18, go build does VCS stamping via git, which fails
> with detected dubious ownership in repository when the container's root UID
> doesn't own the mounted .git (host-owned).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]