Post

2022-11-17-TIL

2022-11-17-TIL

Today I Learned

JIB build vs Docker build

기본적으로 JIB는 멀티플랫폼으로 빌드가 되지않는다. 따라서 도커 플러그인 buildx를 활용해서 멀티플랫폼 빌드를 해야한다.

1
2
3
4
$ docker buildx create --use --name mybuild node-amd64
mybuild
$ docker buildx create --append --name mybuild node-arm64
$ docker buildx build --platform linux/amd64,linux/arm64 .
  • https://cloud.google.com/blog/topics/developers-practitioners/comparing-containerization-methods-buildpacks-jib-and-dockerfile
  • https://gitter.im/google/jib?at=5f5f2d1aa9c2c8511e93cfaa
  • https://www.linkedin.com/pulse/docker-image-build-vs-jib-eran-shaham
  • https://tomgregory.com/jib-vs-spring-boot-for-building-docker-images/
  • https://github.com/GoogleContainerTools/jib/issues/2523
  • https://github.com/GoogleContainerTools/jib/blob/master/docs/faq.md

Graviton

  • https://sungwookkang.com/1493
  • https://aws.amazon.com/ko/ec2/graviton/
  • https://aws.amazon.com/ko/blogs/korea/category/compute/graviton/
This post is licensed under CC BY 4.0 by the author.