зеркало из
1
0
Форкнуть 0

Set default shell, avoid dpkg warnings

This commit is contained in:
Chuck Lantz 2019-05-22 08:37:32 -07:00
Родитель 68d5d9cd4c
Коммит 0257f02ad0
1 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -5,10 +5,19 @@
FROM mcr.microsoft.com/dotnet/core/sdk:2.1 FROM mcr.microsoft.com/dotnet/core/sdk:2.1
# Install git, process tools # Configure apt
RUN apt-get update && apt-get -y install git procps ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils 2>&1
# Install git, process tools, lsb-release (common in install instructions for CLIs)
RUN apt-get -y install git procps lsb-release
# Clean up # Clean up
RUN apt-get autoremove -y \ RUN apt-get autoremove -y \
&& apt-get clean -y \ && apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash