VOOZH about

URL: https://qiita.com/YumaInaura/items/2cc1b64f875a36777f2d

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


👁 Image
22

Go to list of users who liked

16

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

More than 3 years have passed since last update.

@YumaInaura(稲浦 悠馬)

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

22
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

Go to list of users who liked

16
0

Go to list of comments

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

Go to list of users who liked

16