LoginSignup
22
17

More than 1 year has passed since last update.

#Linux #Ubuntu #docker #Dockerfile のこれは何? apt-get install --no-install-recommends

Last updated at Posted at 2018-12-25

Dockerfileの記述例

RUN apt-get update && apt-get install -y --no-install-recommends

時間対策、余計なもの入れないためのオプションらしい

デフォルトだと recommends しているだけの必須ではないパッケージも一緒に入って時間がかかるので --no-install-recommends をつけるのが常套手段

debianパッケージ周りでよく使うコマンドとオプション - sonots:blog


docker yumainaura - Google Search

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

22
17
0

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
22
17