Closed lv10 closed 7 months ago
Issue was resolved. I was using -o
which points to logs for wget
instead -O
which sets the output file. I wasn't able to see the stack trace for the error which caused me to believe there was a bug. Since the error: Error: fork/exec /usr/local/bin/kn-func: exec format error
usually means that there's a architecture mismatch.
Bug report
After successfully installing
kn
andfunc
. I can't runkn func
. I getError: fork/exec /usr/local/bin/kn-func: exec format error
. I have installed different versions of the two 2 tools, with no luck.I attempt installing
kn
using the binary I get:/usr/local/bin/kn: line 1: syntax error: unexpected "("
. I'm attempting to install this in a Docker container so that I can run the docker container in a pipeline and do the pushing of a function within the pipeline.Expected behavior
Install both tools and be able to use
kn func
to build and deploy the the function I created.Steps to reproduce the problem
Run the following dockerfile:
kn version