https://blue-build.org/ logo
github failed to build
# questions
u
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
a
message has been deleted
x
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
x
try removing the
sudo
u
i thought it wouldnt matter
x
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
Copy code
0sudo: pam_open_session: Permission denied
#34 39.19 sudo: policy plugin failed session initialization
u
alright ill remove
x
you generally don't need sudo in container builds, because it's already run as the root user
u
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