Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.11 KB

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