Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Run chown -R root:root /srv in Dockerfile. #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

monaka
Copy link

@monaka monaka commented Feb 20, 2023

This fix will avoid a issue in pulling the image on arm64 based
instances.

I got ERROR: failed to register layer: ApplyLayer exit status 1 stdout: stderr: failed to Lchown on my Unbrel OS instance.
Even though it might be reproduced on arm64 only, I supporse there is no regression on amd64 by calling chown in docker build.

This fix will avoid a issue in pulling the image on arm64 based
instances.

Signed-off-by: Masaki Muranaka <[email protected]>
@monaka
Copy link
Author

monaka commented Feb 20, 2023

I found some similar issues on other projects in GitHub. For example: badges/shields#8906

@grunch grunch requested a review from fedsten February 20, 2023 13:12
@nicbus
Copy link
Contributor

nicbus commented Feb 22, 2023

Looking at similar issues, like the one you mentioned, it seems the error output should contain more information. Can you please report the full error message you get when pulling the image?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants