Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
docker run --privileged --rm --name instruction_buildpacks -p 3000:8080 -d docker:dind
docker exec -it `docker ps -f name=instruction_buildpacks -q` /bin/sh
cd tmp
tar xvf pack-v0.1.0-linux.tgz && rm pack-v0.1.0-linux.tgz && mv ./pack /usr/local/bin/
pack --help
apk add git
git clone
cd sample-java-app/
pack set-default-builder cloudfoundry/cnb:bionic
docker images
pack build myapp
docker images
docker run -d --rm -p 8080:8080 myapp
## ブラウザで以下のURLにアクセス
## 後処理
docker stop instruction_buildpacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment