Agent exposed port 3000

Hi guys I found a little glitch in the Dockerfile for the agent.
https://github.com/drone/drone/blob/master/Dockerfile.agent

# docker build --rm -f Dockerfile.agent -t drone/agent .

FROM drone/ca-certs
ENV GODEBUG=netdns=go
ADD release/drone-agent /bin/

EXPOSE 3000
HEALTHCHECK CMD ["/bin/drone-agent", "ping"]

ENTRYPOINT ["/bin/drone-agent"]

The exposed should be 9000 isn’t it? Since the protocl is now GRPC.

Only the server exposes 9000 for grpc. The agent exposes 3000 for the healthz and varz endpoints.

Of course :smiley: I’m dumb sorry for the waste of time!