Git Product home page Git Product logo

plugin-container-build's Introduction

Heroku CLI Plugin for container build and run

Build Status Version License

Use this plugin to build and run your app locally as a docker image/container.

Usage

$ heroku plugins:install container-build

plugin-container-build's People

Contributors

fivetanley avatar hone avatar jdx avatar jkutner avatar svc-scm avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin-container-build's Issues

local:push

This flow allows someone to build a docker image, but getting it running with the container registry takes some work and requires using the docker CLI directly. This new command will need to handle the following:

  • heroku docker registry login
  • docker tag registry.heroku.com//web
  • docker push

Support process types in heroku.yml

The push command should detect and support process types in the heroku.yml. For example:

run:
  web: start.sh
  worker: worker.sh

This dependent on:

  • Supporting heroku.yml process types in /packs/launcher
  • determining the order of precedence for Procfile and heroku.yml.

`--config` doesn't work in Windows

Running $ heroku local:build --config in windows runs into this problem when trying to build the env dir layer:

COPY failed: stat /var/lib/docker/tmp/docker-builder806846994/env: no such file or directory

I believe this is because tar pathing behaves potentially different on windows, so docker can't find the env dir.

local buildpacks

For buildpack development, it'd be great if this supported building against a local checked out buildpack repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.