Comments (5)
リクエストありがとうございますー
multi platformなimageのビルドやregistryに対してのpushの知識を全然持ってないんですがやり方とかってご存知ですか?
from docker-review.
ビルドに関しては、ARGとしてarchを指定できるようにしておきDockerfileの中でuname -m
で初期値を与えてあげる……とかが良さそうに見えます🤔
github actionで自動化される場合は、たとえばこんな感じに記述することで実現できます。
https://github.com/RyuSA/simple-accesspoint/blob/main/.github/workflows/main.yaml#L30
from docker-review.
NOTE
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
from docker-review.
multi platformなregistryへのpushは、archを特に意識せずにpushすれば大丈夫です!Dockerhub等、マルチプラットフォームな配信ができるようになっているので
たとえば、Golangであれば「linux/386」「linux/amd64」「linux/arm/v5」の3つにarchに対応したイメージをホストしていたります。
https://hub.docker.com/_/golang?tab=tags
コンテナイメージによっては、タグ名で分けたりしているプロダクトもあったりしますが……vvakame/review
に関して言えば、特に気にせずarch違えど同じタグでpush/shipして良いと思います。
from docker-review.
おーなるほど ありがとうございます ちょっと勉強してみます〜
from docker-review.
Related Issues (19)
- /usr/local/share/texmfを上書きできるようにする HOT 1
- Re:VIEWのバージョン毎にdocker imageに対してtagを切るべき? HOT 6
- `//blankline` がつかえない HOT 3
- 最近のDockerイメージでtatsumacro.styをスタイル指定するとシンプルなPDFの生成が失敗する HOT 4
- How about license? HOT 2
- LaTeXコンパイルに失敗するケースがある HOT 1
- Re:VIEW 3への更新 HOT 1
- alpine試してみる HOT 4
- イメージのサイズを削減する
- windows-review.mdをReVIEW-Templateで試すとPDFが出力できない HOT 10
- テスト HOT 1
- Debian 10化 HOT 4
- poppler-utilsを入れたい HOT 2
- DockerHubのイメージ配備に時間がかかる
- デフォルトでIPAフォント使えるようにできるそうなのでそうする
- Docker Hub への push について考える HOT 3
- https://hub.docker.com/r/vvakame/review のOverviewが5.2時代から変わってくれない HOT 3
- GitHub ActionsでのNode.js 12の非推奨対応
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-review.