8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

DockerHubでDockerfileのRUNコマンドのエラーを無視する

Posted at

Dockerhubに登録した際にRUNに書いたコマンドが
0以外の終了値を返すためにビルドに失敗していたので回避するためのTips

RUN (終了コードが0以外のコード) ; exit 0

; exit 0 を追加してあげればOK

参考 : https://stackoverflow.com/questions/30716937/dockerfile-build-possible-to-ignore-error

8
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?