Closed lox closed 8 years ago
Noice! :+1:
I'm by no means proud of that download.sh
:/
Think it's a bad idea to avoid using the bash installer you guys provide @toolmantim?
Hmm not sure. @keithpitt?
It looked to me like most of the stuff in there was to deal with people installing into different environments. Into a docker container is a pretty controlled install.
I think it's fine using the installer - that's what it's there for!
(And I have no plan on getting rid of it any time soon)
Sorry, we meant is it ok to NOT use it?
This script does the look up from https://buildkite.com/agent/releases/latest directly.
Oh right! Yeah, that's cool too! :) Sorry, I totally misread that. Do what evs :)
To ensure that builds use the lastest versions of releases this downloads assets first and copies them into the Docker build, ensuring layer cache doesn't miss subsequent versions.