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

Commit

Permalink
Remove SHELL env var (vscode now checks /etc/passwd)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Jun 17, 2019
1 parent 2a09f60 commit aee9816
Show file tree
Hide file tree
Showing 50 changed files with 10 additions and 104 deletions.
2 changes: 0 additions & 2 deletions container-templates/docker-compose/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions container-templates/dockerfile/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/azure-ansible/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/azure-blockchain/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM python:2.7

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/azure-cli/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM mcr.microsoft.com/dotnet/core/sdk:2.1

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM mcr.microsoft.com/dotnet/core/sdk:latest

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/azure-functions-java-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM maven:3-jdk-8

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/azure-functions-node-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM node:8

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/azure-functions-node-lts/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM node:lts

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ FROM continuumio/anaconda3

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
3 changes: 1 addition & 2 deletions containers/azure-terraform/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Terraform and tflint versions
ARG TERRAFORM_VERSION=0.11.13
ARG TFLINT_VERSION=0.7.5
Expand Down
3 changes: 1 addition & 2 deletions containers/bazel/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Bazel version and hash
ENV BAZEL_VERSION=0.25.2
ENV BAZEL_SHA256=5b9ab8a68c53421256909f79c47bde76a051910217531cbf35ee995448254fa7
Expand Down
2 changes: 0 additions & 2 deletions containers/cpp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
3 changes: 1 addition & 2 deletions containers/dart/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ FROM google/dart:2

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Add bin location to path
ENV PATH="$PATH":"/root/.pub-cache/bin"

Expand Down
2 changes: 0 additions & 2 deletions containers/debian-9-git/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
3 changes: 1 addition & 2 deletions containers/docker-in-docker-compose/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Docker Compose version
ARG COMPOSE_VERSION=1.24.0

Expand Down
3 changes: 1 addition & 2 deletions containers/docker-in-docker/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Docker Compose version
ARG COMPOSE_VERSION=1.24.0

Expand Down
2 changes: 0 additions & 2 deletions containers/dotnetcore-2.1-fsharp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM mcr.microsoft.com/dotnet/core/sdk:2.1

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/dotnetcore-2.1/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM mcr.microsoft.com/dotnet/core/sdk:2.1

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/dotnetcore-latest-fsharp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM mcr.microsoft.com/dotnet/core/sdk:latest

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/dotnetcore-latest/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM mcr.microsoft.com/dotnet/core/sdk:latest

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
3 changes: 3 additions & 0 deletions containers/go/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

FROM golang:1

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive

# Configure apt and install packages
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
Expand Down
3 changes: 0 additions & 3 deletions containers/java-11/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,3 @@ ENV DEBIAN_FRONTEND=dialog

# Allow for a consistant java home location for settings - image is changing over time
RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
3 changes: 0 additions & 3 deletions containers/java-12/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,3 @@ RUN yum clean all

# Allow for a consistent java home location for settings - image is changing over time
RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
5 changes: 1 addition & 4 deletions containers/java-8-tomcat-8.5/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,4 @@ RUN apt-get autoremove -y \
ENV DEBIAN_FRONTEND=dialog

# Allow for a consistant java home location for settings - image is changing over time
RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi
3 changes: 0 additions & 3 deletions containers/java-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,3 @@ ENV DEBIAN_FRONTEND=dialog

# Allow for a consistant java home location for settings - image is changing over time
RUN if [ ! -d "/docker-java-home" ]; then ln -s "${JAVA_HOME}" /docker-java-home; fi

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash
2 changes: 0 additions & 2 deletions containers/javascript-node-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM node:8

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/javascript-node-lts-mongo/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM node:lts

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/javascript-node-lts/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM node:lts

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash instead of sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/kubernetes-helm/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/markdown/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM debian:9

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/perl/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM perl:5

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/php-7/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM php:7-cli

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/plantuml/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM openjdk:8

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
3 changes: 0 additions & 3 deletions containers/powershell/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,3 @@ 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
2 changes: 0 additions & 2 deletions containers/python-2/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM python:2

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Copy requirements.txt (if found) to a temp locaition so we can install it. Also
# copy "noop.txt" so the COPY instruction does not fail if no requirements.txt exists.
Expand Down
2 changes: 0 additions & 2 deletions containers/python-3-anaconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM continuumio/anaconda3

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Copy environment.yml (if found) to a temp locaition so we update the environment. Also
# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.
Expand Down
2 changes: 0 additions & 2 deletions containers/python-3-miniconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM continuumio/miniconda3

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Copy environment.yml (if found) to a temp locaition so we update the environment. Also
# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.
Expand Down
2 changes: 0 additions & 2 deletions containers/python-3-postgres/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM python:3

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

ENV PYTHONUNBUFFERED 1

Expand Down
2 changes: 0 additions & 2 deletions containers/python-3/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM python:3

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Copy requirements.txt (if found) to a temp locaition so we can install it. Also
# copy "noop.txt" so the COPY instruction does not fail if no requirements.txt exists.
Expand Down
2 changes: 0 additions & 2 deletions containers/r/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ FROM rocker/r-apt:bionic

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/ruby-2-rails-5/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM debian:latest

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
2 changes: 0 additions & 2 deletions containers/ruby-2-sinatra/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM debian:latest

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
Expand Down
Loading

0 comments on commit aee9816

Please sign in to comment.