-
Notifications
You must be signed in to change notification settings - Fork 785
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
go builds start failing with buildah 1.19.4 #3008
Comments
I am not sure what issue you are reporting? Are you reporting the Buildah fails to be able to build from Git? |
My |
Can you give us a Dockerfile that shows the behaviour you are seeing? |
@rhatdan The failing Dockerfiles are in our repository. |
Everyone of them or one in particular? |
Everyone of them, I have debugged with |
@umohnani8 can you take a quick peak at this? |
NB: The latest master has a workaround so if you are testing with HEAD you don't see errors.
right before |
fails with |
So looked through the history and this is the PR that caused this https://github.com/containers/buildah/pull/2929/files. From some tests, looks like this is failing when the OCI Runtime is |
@umohnani8 Thanks! So for me this seems to be just a config issue (I can move back to |
@mythi yes, moving back to runc (setting the |
I think this is the same issue as containers/podman#9378 crun behaves differently than runc (on purpose) and doesn't try to override can you show the result of The best fix is to override |
|
My fix is to:
|
Description
Our CI builds kubernetes device plugins containers (Dockerfiles) using both docker and buildah. Buildah is installed from http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/.
The repo moved to buildah 1.19.4 over the weekend and our buildah images started failing.
Describe the results you received:
go commands error with:
build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined
For what is worth, I can add
RUN go env
debug prints and they work OK first and then suddenly start failing.Describe the results you expected:
builds work OK. FWIW, Github Actions virtual env runners have buildah v1.19.2 and they work fine.
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:The text was updated successfully, but these errors were encountered: