Add default shell, lock on node 10, add lsb-release

This commit is contained in:
Chuck Lantz
2019-05-22 08:54:27 -07:00
parent d1b69256df
commit bd6d1cd06a

View File

@@ -3,7 +3,7 @@
# Licensed under the MIT License. See LICENSE in the project root for license information. # Licensed under the MIT License. See LICENSE in the project root for license information.
#----------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------
FROM node:lts FROM node:10
# Configure apt # Configure apt
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
@@ -11,7 +11,7 @@ RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils 2>&1 && apt-get -y install --no-install-recommends apt-utils 2>&1
# Verify git and process tools are installed # Verify git and process tools are installed
RUN apt-get install -y git procps RUN apt-get install -y git procps lsb-release
# Remove outdated yarn from /opt and install via package # Remove outdated yarn from /opt and install via package
# so it can be easily updated via apt-get upgrade yarn # so it can be easily updated via apt-get upgrade yarn
@@ -32,3 +32,6 @@ 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 ENV DEBIAN_FRONTEND=dialog
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash