Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #52 from microsoft/clantz/shell
Browse files Browse the repository at this point in the history
Set default shell to /bin/bash
  • Loading branch information
Chuxel committed May 21, 2019
2 parents 9c59fa4 + a423f84 commit be405a5
Show file tree
Hide file tree
Showing 44 changed files with 127 additions and 10 deletions.
3 changes: 3 additions & 0 deletions container-templates/docker-compose/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

3 changes: 3 additions & 0 deletions container-templates/dockerfile/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash rather than sh
ENV SHELL /bin/bash
5 changes: 4 additions & 1 deletion containers/azure-ansible/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ RUN apt-get install -y libssl-dev libffi-dev python-dev python-pip \
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 2 additions & 1 deletion containers/azure-cli/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog


# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
2 changes: 2 additions & 0 deletions containers/azure-functions-java-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/azure-functions-node-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/azure-functions-node-lts/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
5 changes: 4 additions & 1 deletion containers/azure-terraform/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,7 @@ RUN mkdir -p /tmp/docker-downloads \
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/cpp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ RUN apt-get -y install build-essential cmake cppcheck valgrind
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
4 changes: 3 additions & 1 deletion containers/dart/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ RUN apt-get update && apt-get -y install git procps
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*


# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/debian-9-git/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/docker-in-docker-compose/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

3 changes: 2 additions & 1 deletion containers/docker-in-docker/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog


# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/dotnetcore-2.1-fsharp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ RUN apt-get install -y fsharp
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

3 changes: 3 additions & 0 deletions containers/dotnetcore-2.1/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ RUN apt-get update && apt-get -y install git procps
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
4 changes: 3 additions & 1 deletion containers/dotnetcore-latest-fsharp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ RUN apt-get install -y fsharp
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*


# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/dotnetcore-latest/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ RUN apt-get update && apt-get -y install git procps
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/go/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ RUN apt-get update && apt-get -y install git procps
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/java-11/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/java-12/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ RUN curl -sSL --output gradle.zip "https://services.gradle.org/distributions/gra

# Clean yum cache
RUN yum clean all

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
2 changes: 2 additions & 0 deletions containers/java-8-tomcat-8.5/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/java-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
2 changes: 2 additions & 0 deletions containers/javascript-node-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
2 changes: 2 additions & 0 deletions containers/javascript-node-lts-mongo/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/javascript-node-lts/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/kubernetes-helm/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash to make sure .bashrc script is run
ENV SHELL /bin/bash
5 changes: 4 additions & 1 deletion containers/markdown/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ RUN apt-get update && apt-get -y install git procps
# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
5 changes: 4 additions & 1 deletion containers/php-7/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ RUN apt-get update && apt-get -y install git procps
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*


# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

3 changes: 3 additions & 0 deletions containers/plantuml/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

3 changes: 3 additions & 0 deletions containers/powershell/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ RUN apt-get update && apt-get -y install git procps \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/python-2/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ RUN if [ -f "requirements.txt" ]; then pip install -r requirements.txt && rm req
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/python-3-anaconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

3 changes: 3 additions & 0 deletions containers/python-3-miniconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

3 changes: 3 additions & 0 deletions containers/python-3-postgres/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ RUN if [ -f "requirements.txt" ]; then pip install -r requirements.txt && rm req
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/python-3/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

4 changes: 3 additions & 1 deletion containers/ruby-2/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ RUN apt-get update && apt-get -y install git procps
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*


# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/rust/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ RUN apt-get install -y lldb-3.9
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
4 changes: 3 additions & 1 deletion containers/swift-4/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ RUN cd sourcekite && swift build -Xlinker -l:sourcekitdInProc -c release
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*


# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 3 additions & 0 deletions containers/typescript-node-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
2 changes: 2 additions & 0 deletions containers/typescript-node-lts/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
2 changes: 2 additions & 0 deletions containers/ubuntu-18.04-git/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

0 comments on commit be405a5

Please sign in to comment.