Skip to content

Instantly share code, notes, and snippets.

@pluswave
Created May 12, 2017 06:39
Show Gist options
  • Select an option

  • Save pluswave/dee4e720c409e0d5512b035430fca1ea to your computer and use it in GitHub Desktop.

Select an option

Save pluswave/dee4e720c409e0d5512b035430fca1ea to your computer and use it in GitHub Desktop.
Set bash for default shell in Debian without user interacting
FROM debian:stretch
LABEL reference="https://superuser.com/questions/715722/how-to-do-dpkg-reconfigure-dash-as-bash-automatically"
RUN echo "dash dash/sh boolean false" | debconf-set-selections
RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment