github failed to build
ERROR: failed to solve: process "/bin/sh -c /tmp/scripts/run_module.sh 'script' '{"type":"script","snippets":["curl -L https://urbit.org/install/linux-x86_64/latest | sudo tar xzk --transform='s/.*/urbit/g' -C /usr/bin && sudo chmod +x /usr/bin/urbit"],"scripts":["initramfs.sh","remove-wp.sh"]}' && ostree container commit" did not complete successfully: exit code: 1
[13:53:14 ERROR] => Failed to build image
Error: Process completed with exit code 1.
github fails to build even tho it build successfully locally
8 Replies
that error doesn't tell us much, the actual error is likely a couple lines above this
i suggest that you give the link to your failing github action
just like the post guidelines say
GitHub
remove (rust): as snippet · m3m3-0s/meme-os@4c095be
Contribute to m3m3-0s/meme-os development by creating an account on GitHub.
try removing the
sudo
i thought it wouldnt matter
curl says the error is in writing to the output destination, but the curl output goes to tar which writes it to a destination
and since tar is run with sudo and there's these weird sudo errors in the build i think it's gotta be that
0sudo: pam_open_session: Permission denied
#34 39.19 sudo: policy plugin failed session initialization
alright ill remove
you generally don't need sudo in container builds, because it's already run as the root user
ye exactly so i thougght it wouldnt matter eitherr way yk
but i guess ill exclude them from now on
thanks will see if it works