Skip to content
This repository has been archived by the owner. It is now read-only.
Buildpack cloud builders for the classic v2a (Heroku-style) and v2b (CF-style) buildpacks
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
cf
heroku
vendor
.gitignore
.travis.yml
LICENSE
README.md
go.mod
go.sum
input.go
metadata.go
sys.go

README.md

Packs

Build Status GoDoc

This repo contains Packs: buildpack cloud builders for the Cloud Foundry and Heroku buildpacks.

These cloud builders are available on Docker Hub.

Quick Start: Cloud Foundry Packs

Build:

docker run --rm -v "$(pwd)/app:/workspace" -v "$(pwd)/out:/out" packs/cf:build

Run:

docker run --rm -P \
    -v "$(pwd)/out:/workspace" \
    packs/cf:run -droplet droplet.tgz -metadata result.json

Export to Docker daemon:

docker run --rm \
    -v "$(pwd)/out:/workspace" \
    -v "/var/run/docker.sock:/var/run/docker.sock" \
    packs/cf:export -daemon -droplet droplet.tgz -metadata result.json my-image

Export to Docker registry:

docker run --rm \
    -v "$(pwd)/out:/workspace" \
    -v "$HOME/.docker/config.json:/root/.docker/config.json" \
    packs/cf:export -droplet droplet.tgz -metadata result.json my-image
You can’t perform that action at this time.