Skip to content

final-gene/docker-hub-heroku-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heroku CLI

Docker build and publish

This is an image to run the heroku cli.

How to use this image

Run the heroku-cli image:

docker run \
    --rm \
    --interactive \
    --tty \
    --volume "$(pwd)":/app \
    finalgene/heroku-cli

Mount the .netrc-file into the container to use the interactive login.

docker run \
    --rm \
    --interactive \
    --tty \
    --volume ~/.cache/heroku:/root/.cache/heroku \
    --volume ~/.local/share/heroku:/root/.local/share/heroku \
    --volume ~/.netrc:/root/.netrc \
    --volume "$(pwd)":/app \
    finalgene/heroku-cli login

You can use any of the heroku cli commands

docker run \
    --rm \
    --interactive \
    --tty \
    --volume ~/.cache/heroku:/root/.cache/heroku \
    --volume ~/.local/share/heroku:/root/.local/share/heroku \
    --volume ~/.netrc:/root/.netrc \
    --volume "$(pwd)":/app \
    finalgene/heroku-cli help

For further information take a look at the heroku command documentation.

Quick reference

About

Heroku CLI for CI

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Contributors