buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

Bug: Docker V3 Buildkite Agent doesn't have agent binary #356

Closed nadenf closed 6 years ago

nadenf commented 6 years ago

So in the V2 Dockerfile there used to be this line: RUN curl -Lfs -o /usr/local/bin/buildkite-agent https://download.buildkite.com/agent/stable/latest/buildkite-agent-linux-amd64 \ && chmod +x /usr/local/bin/buildkite-agent \

Which has now been removed from the V3 Dockerfile: https://github.com/buildkite/agent/tree/master/packaging/docker/linux

In favour of: COPY ./buildkite-agent /usr/local/bin/buildkite-agent

Which fails because that binary doesn't exist. Maybe I am doing something weird but all I want is to be able to customise the Docker build agent e.g. add SBT/Java like the documentation leads me to believe.

toolmantim commented 6 years ago

Ah, sorry about that! That file is now sourced from the build artifacts in the agent build process. You can use the following line in your own scripts to download the latest stable agent binary:

ADD https://download.buildkite.com/agent/stable/latest/buildkite-agent-linux-amd64 /usr/local/bin/buildkite-agent

It might be best to email support with this issue in the future, or raise an issue on the buildkite/agent repository. This repo's more for general feedback rather than specific technical problems. But either way, sorry for the confusion 🙏🏼

toolmantim commented 6 years ago

Perhaps there's some docs we should update along with this? Which documentation were you referring to?