Skip to content

build.sh: parametrize docker user for rootless Docker support#87

Open
itsbryanman wants to merge 1 commit into
Dasharo:masterfrom
itsbryanman:fix/rootless-docker-uid
Open

build.sh: parametrize docker user for rootless Docker support#87
itsbryanman wants to merge 1 commit into
Dasharo:masterfrom
itsbryanman:fix/rootless-docker-uid

Conversation

@itsbryanman

Copy link
Copy Markdown

Rootless Docker builds fail because ec/build.sh was not passing a build user into docker run the way coreboot/build.sh already does. This change adds a UID-derived variable near the top of build.sh and uses it with -u in docker run.

Tested with bash -n build.sh.

Related to Dasharo/dasharo-issues#1197.

Address Dasharo/dasharo-issues#1197 by passing the build user into docker run so rootless Docker works correctly.
@philipanda

Copy link
Copy Markdown

Tested with bash -n build.sh.

Why -n?

Could you paste some build logs?

@philipanda

Copy link
Copy Markdown

Hi @itsbryanman, are you still interested in merging this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants