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

Problem building with alpine 3.14.0 #2114

Closed
wader opened this issue Jun 22, 2021 · 9 comments
Closed

Problem building with alpine 3.14.0 #2114

wader opened this issue Jun 22, 2021 · 9 comments
Labels

Comments

@wader
Copy link

wader commented Jun 22, 2021

Problem description

Problem building with lastest alpine stable 3.14.0.

I have an image that work fine with alpine:3.13.4 but with alpine:3.14.0 they started failing. After digging i think the issue might be related to https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2

Symptom for me is error similar to this:

/bin/sh: Operation not permitted 

Image is https://hub.docker.com/r/mwader/static-ffmpeg

It builds fine with docker desktop 3.4.0 (engine 20.10.7) on macOS.

@majamee
Copy link

majamee commented Jun 23, 2021

This issue is not only happening on alpine, but in fact on a lot of up2date distributions. The reason seems, that docker hub seems to use an out-dated build chain. Would be great to have this fixed though. Should be an update of the build environment for/ by docker hub.
Additional information:
https://forums.docker.com/t/multiple-projects-stopped-building-on-docker-hub-operation-not-permitted/92570/6

@wader
Copy link
Author

wader commented Jun 26, 2021

golang alpine 3.14 had similar issue and is now buliding (accoding to comments) docker-library/official-images#10379 (comment) . But my build is still failing (logs version builder version 19.03.8)

@majamee
Copy link

majamee commented Jul 1, 2021

Fyi: Here another image which builds perfectly fine locally, but the make script fails hard on docket hub:
https://hub.docker.com/r/majamee/alpine-dash-hls

@wader
Copy link
Author

wader commented Jul 1, 2021

@majamee yes i guess this will get worse and worse when more things uses new syscalls and get EPERM. But i dont get how the golang alpine image seems to build fine now, used newer builder version somehow?

@majamee
Copy link

majamee commented Jul 27, 2021

Any updates would be highly welcome as my auto-builds are now stuck for about a month, without me being able to do anything about it. :(

@wader
Copy link
Author

wader commented Jul 27, 2021

@majamee I've started migrate my auto builds to github actions instead. Here is an example that maps git tags to image tags and master branch to latest tag https://github.com/wader/static-ffmpeg/blob/master/.github/workflows/ci.yml

@majamee
Copy link

majamee commented Jul 27, 2021

My builds are working again :) Just re-tried and it seems that the build chain of docker hub was updated successfully.

@wader
Copy link
Author

wader commented Jul 27, 2021

Aha good to know! Strange that they don't announce updates on https://docs.docker.com/docker-hub/release-notes/ etc?

I got an email some time ago that auto-builds are pro-only now, maybe good to know https://www.docker.com/blog/changes-to-docker-hub-autobuilds/

@github-actions
Copy link

We are clearing up our old issues and your ticket has been open for 6 months with no activity. Remove stale label or comment or this will be closed in 15 days.

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

No branches or pull requests

2 participants