Closed ladderlogix closed 2 months ago
Your Raspberry Pi is arm64 but your /app/run
file is probably not arm64. You should compile it for arm64.
How I tried,
RUN GOOS=linux GOARCH=arm64 go build -v -ldflags '-w -s' -o ./cmd/jailrun
in the docker and got errors with => ERROR [nsjail 5/5] RUN make -j
Jail itself does not need to be recompiled. The /app/run
file that you created needs to be compiled for arm64.
So then what will i need to change
We don't know anything about your /app/run file, so we can't help you here.
It is a python script
#!/usr/local/bin/python
Did not have the right shebang
I get this error when running it on a Raspberry Pi 4 with Ubuntu 24.04.
uname -a result: