Skip to content

iamejboy/cnb-sample-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Build Image Using Cloud Native Buildpack

This repository contains instruction how to build image without Dockerfile (a sample go app) using Cloud Native Buildpack.

Instruction

  • Install required tools stated below.
  • Clone repository git clone https://github.com/iamejboy/cnb-sample-go.git.
  • Build and publish image.
cd cnb-sample-go
pack build --publish <image-repo> --builder cloudfoundry/cnb:bionic
  • Quick test.
docker run -d -p 9090:8080 --name sample-go <image-repo>
curl -s http://0.0.0.0:9090

Note: Use command pack suggest-builders to see available builders to use

Tools:

Releases

No releases published

Packages

No packages published

Languages