Skip to content
Permalink
Browse files

DevContainer use Debian Buster image. (#4)

  • Loading branch information...
theomessin committed Aug 12, 2019
1 parent aea55b2 commit eebf192fac4db498ba2d50b8c0bd136607c1d44c
Showing with 14 additions and 1 deletion.
  1. +14 −1 .devcontainer/Dockerfile
@@ -3,7 +3,7 @@
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
#-------------------------------------------------------------------------------------------------------------

FROM node:lts
FROM node:lts-buster

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
@@ -12,6 +12,11 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
#
# Install add-apt-repository and add git ppa.
# && apt-get install -y software-properties-common \
# && add-apt-repository -y ppa:git-core/ppa \
# && apt-get update \
#
# Verify git and needed tools are installed
&& apt-get install -y curl git gnupg2 procps lsb-release \
#
@@ -20,5 +25,13 @@ RUN apt-get update \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# Install Git Bash Autocomplete
RUN wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash \
-O /etc/bash_completion.d/git-completion \
&& echo "\n# bash-completion" >> /root/.bashrc \
&& echo "if [ -f /etc/bash_completion.d/git-completion ]; then" >> /root/.bashrc \
&& echo " . /etc/bash_completion.d/git-completion" >> /root/.bashrc \
&& echo "fi" >> /root/.bashrc

# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog

0 comments on commit eebf192

Please sign in to comment.
You can’t perform that action at this time.