2020年5月22日金曜日

git clone for dockerfile

以下の手順を行わないと、dockerfileでgit cloneが実行が出来ないので必須!

Developer settings > Personal access tokens > Generate new tokenを押す

Note: 適当名前
Select scopes:以下をチェックする。

以下を赤枠を控えておく。
    ->ランダムで変わるらしい

上記の赤枠 + github.com/[githubのユーザ名]/[gitのレポジトリ].git
[dockerfileの中身]

dockerの作成を行ってみる
docker build -t [イメージ名] .

例:
docker build -t nginx-a .


0 件のコメント:

コメントを投稿

EXOでMacStudioをクラスタリング

以下のMacStudio2台に、EXOを使ってクラスタリングを行います。 ①MacStudio(M1 MAX 32GB) ②MacStudio(M4 MAX 36GB) 1)導入方法は、以下を参照。 参照先: https://github.com/exo-explore/exo/...