Sign inSign up

moskitohero/alpine-heroku-cli

By moskitohero

•Updated almost 6 years ago

Image
0

680

moskitohero/alpine-heroku-cli repository overview

⁠Alpine Heroku CLI

This image packages the Heroku CLI⁠ inside an Alpine Linux based Docker container. The version will track that of the Heroku CLI.

⁠Usage

The easiest way to use this would be to use your Heroku API key⁠ or an OAuth authorization token⁠ set as the HEROKU_API_KEY environment variable.

Another method would be to mount your ~/.netrc as a volume on the docker container. This would use your local Heroku login credentials for authentication.

docker run wingrunr21/alpine-heroku-cli version
# heroku-cli/5.6.12-c892d56 (linux-amd64) go1.6.3

# API key/OAuth token method
docker run --rm -e HEROKU_API_KEY="abc-123123123" wingrunr21/alpine-heroku-cli list
# == Collaborated Apps
# app1
# app2
# ...
docker run --rm -v ~/.netrc:/root/.netrc:ro wingrunr21/alpine-heroku-cli list
# == Collaborated Apps
# app1
# app2
# ...

Tag summary

Content type

Image

Digest

Size

72.1 MB

Last updated

almost 6 years ago

docker pull moskitohero/alpine-heroku-cli