export DOCKER_AGRS="--rm -v /var/run/docker.sock:/var/run/docker.sock \
-v $(pwd):/workspace -w /workspace"
# 查看有哪些可用的builder
docker run ${DOCKER_ARGS} buildpacksio/pack build suggest
# 选择一个builder来构建项目镜像,在项目根目录内执行
docker run ${DOCKER_ARGS} buildpacksio/pack build <my-image> --builder paketobuildpacks/builder-jammy-tiny
|