traPtitech / NeoShowcase

PaaS (Platform as a Service) on Docker 🐳 or k8s ☸
MIT License
54 stars 4 forks source link

Buildpack build type (runtime) #460

Closed motoki317 closed 1 year ago

motoki317 commented 1 year ago

k8s, arm64対応がどうなるかわかってない けどまあいけるやろ

options

motoki317 commented 1 year ago

e.g. $ pack build traq --builder paketobuildpacks/builder:base

https://buildpacks.io/docs/tools/pack/

motoki317 commented 1 year ago

option 1 https://stackoverflow.com/questions/69569784/use-paketo-io-cloudnativebuildpacks-cnb-in-gitlab-ci-with-kubernetes-executo/69569785#69569785

どうやってビルドコンテナにリポジトリとregistry認証情報を渡す? どうやってログを流す? どうやって中断する?

execできるなら

motoki317 commented 1 year ago

option 2 dind https://pkg.go.dev/github.com/buildpacks/pack@v0.29.0/pkg/client

簡単 cacheの定期削除をする

motoki317 commented 1 year ago

https://stackoverflow.com/questions/43314689/example-of-exec-in-k8ss-pod-by-using-go-client

motoki317 commented 1 year ago

https://www.cloudfoundry.org/blog/arm64-paketo-buildpacks/ https://hub.docker.com/r/dashaun/builder-arm

motoki317 commented 1 year ago

https://github.com/buildpacks/rfcs/blob/main/text/0026-lifecycle-all.md#usage