All Projects → heroku → Docker Go Gb

heroku / Docker Go Gb

Programming Languages

shell
77523 projects

Heroku Go Docker image using GB

For use with the heroku docker plugin.

Image tags

You can see all of the tags here.

The latest tag will generally refer to the latest, possibly unsupported, release of Go, including betas and release candidates.

Once a final version is cut a separate tag will be used and updated.

App.json

Note: Please read the official documentation here.

To use this image with the heroku docker plugin specify this image in your application's app.json file like so:

{
  "image": "heroku/go-gb:<major go version or `latest`>",
}

Then run heroku docker:init in your application's directory. This will create both Dockerfile and docker-compose.yml files.

Example app.json

Source can be found here.

{
  "name": "Go Websocket Chat Demo",
  "description": "Go websocket chat demo application.",
  "keywords": [
    "streaming",
    "redis",
    "go"
  ],
  "image": "heroku/go-gb:1.5",
  "website": "http://github.com/heroku-examples/go-websocket-chat-demo",
  "repository": "http://github.com/heroku-examples/go-websocket-chat-demol",
  "scripts": {},
  "addons": [
    "heroku-redis"
  ]
}

Slug Size

The images are large but the slugs created by heroku docker:release only include your application's code, dependencies & compiled binaries so should be relatively small.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].