0
1

More than 3 years have passed since last update.

DockerfileでDebian&Ubuntuのデフォルトを「dash」から「bash」に変更する

Last updated at Posted at 2021-04-04

変更時の戻り値が成功してもエラーコードが返答されているらしく、そのまま記述するとbuildで停止します。

# 最後の「|| true」を忘れない
RUN echo "dash dash/sh boolean false" | debconf-set-selections \
    && DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash || true
0
1
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
0
1