Last active
October 1, 2015 23:27
-
-
Save keithpitt/61acb5700f75b078f199 to your computer and use it in GitHub Desktop.
Installing the Buildkite Agent on FreeBSD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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