insulaire opened a new issue, #11131:
URL: https://github.com/apache/apisix/issues/11131

   ### Description
   
   ### golang build os info:
   golang:1.20-alpine
   
   GOOS="linux
   GOARCH="amd64"
   
   go build -buildmode=pie  -o=bin/go-runner ./cmd/go-runner/
   
   ### Dockerfile:
   
   After the build is completed, there will be an exception **No such file or 
directory**.
   
   ```
   FROM apache/apisix:3.8.0-redhat
   
   COPY ./bin/go-runner /usr/local/apisix-go-plugin-runner/go-runner
   
   CMD [ "/usr/local/apisix-go-plugin-runner/go-runner" ]
   ```
   
   From **apache/apisix:2.12.1-alpine**, there will be no error
   
   ```
   FROM apache/apisix:2.12.1-alpine
   
   COPY ./bin/go-runner /usr/local/apisix-go-plugin-runner/go-runner
   
   CMD [ "/usr/local/apisix-go-plugin-runner/go-runner" ]
   ```
   
   
   why?
   Thanks for the advice.
   
   ### Environment
   
   - APISIX version (3.8):


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to