Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is currently how we run the "solaris-amd64" builder but it's
really illumos and once we have GOOS=illumos vs GOOS=solaris split
(, then this will need work to rebuild
the images.

This runs on Joyent:

   Username: gobuild
   Password: http://go/golang-joyent

To create a working image:

* Create a new Infrastructure Container instance from the "base-64" image
* ssh in as root (account will have key info)
* Copy the build key to the machine at /root/.gobuildkey
* Download the stage0:

  cd /opt
  /opt/local/bin/curl -f -R \
    -z buildlet-stage0 \
    -o buildlet-stage0 \
  chmod +x /opt/buildlet-stage0

* Install gcc:

  pkgin in gcc47

* Copy buildlet.xml to the machine anywhere
* Run as root:
  svccfg import buildlet.xml

Service should be running now.  Shut down the machine and create an image from
the Joyent web console.

If you need to debug, you can check status with:

svcs -x buildlet.xml

This will also give you the location to the log file.

If you need to change an environment variable, place this inside the start
exec_method element:

                <envvar name="EXAMPLE" value="foo"/>

To debug an instance once it's running, you can ssh as:

$ ssh -i ~/.ssh/id_rsa_golang2 root@$IP

The key is at http://go/id_rsa_golang2
You can’t perform that action at this time.