Skip to content

b-nova-techhub/buildpacks-go-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build without custom buildpack

build the app

docker run \ -v /var/run/docker.sock.raw:/var/run/docker.sock \ -v $PWD:/workspace -w /workspace \ -u501 \ buildpacksio/pack build go-sample \ --builder=gcr.io/buildpacks/builder:v1

run the app

docker run -p8080:8080 go-sample

build with custom buildpack

set default-builder

pack config default-builder cnbs/sample-builder:bionic

build the app

pack build go-sample --path . --buildpack ./go-buildpack

build with environment variable

pack build go-sample --path . --env="PORT:8081" --buildpack ./go-buildpack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published