Skip to content

Instantly share code, notes, and snippets.

@keithpitt
Last active October 1, 2015 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keithpitt/61acb5700f75b078f199 to your computer and use it in GitHub Desktop.
Save keithpitt/61acb5700f75b078f199 to your computer and use it in GitHub Desktop.
Installing the Buildkite Agent on FreeBSD
# Install bash
$ sudo pkg install bash
$ sudo sh -c 'echo "fdesc /dev/fd fdescfs rw 0 0" >> /etc/fstab'
$ sudo mount -a
$ bash
# To change your default shell to bash, you can type:
$ sudo chsh -s /usr/local/bin/bash freebsd
# This bit isn't great, but the agent requires the bash executable to be at /bin/bash
$ ln -s /usr/local/bin/bash /bin/bash
# Ensure git is installed
$ sudo pkg install git
# Then install the agent
$ TOKEN="xxx" BETA=true bash -c "`curl -sL https://raw.githubusercontent.com/buildkite/agent/master/install.sh`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment