From e56bb564cc5a46b6e8bcccb295b917858f2134b6 Mon Sep 17 00:00:00 2001 From: Bowden Kelly Date: Mon, 15 Apr 2019 22:19:44 +0000 Subject: [PATCH] add angular --- .../angular/angular/.devcontainer/Dockerfile | 26 +++++++++++++++++++ .../angular/.devcontainer/devcontainer.json | 5 ++++ 2 files changed, 31 insertions(+) create mode 100644 repository-containers/github.com/angular/angular/.devcontainer/Dockerfile create mode 100644 repository-containers/github.com/angular/angular/.devcontainer/devcontainer.json diff --git a/repository-containers/github.com/angular/angular/.devcontainer/Dockerfile b/repository-containers/github.com/angular/angular/.devcontainer/Dockerfile new file mode 100644 index 0000000000..c4e0274e75 --- /dev/null +++ b/repository-containers/github.com/angular/angular/.devcontainer/Dockerfile @@ -0,0 +1,26 @@ +#----------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See LICENSE in the project root for license information. +#----------------------------------------------------------------------------------------- + +FROM openjdk:7 + +# Install git +RUN apt-get update && apt-get -y install git + +# https support +RUN apt-get install apt-transport-https + +# Install Node.js v10-stable +RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ + && apt-get install -y nodejs + +# Install yarn +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ + && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ + && apt-get update && apt-get install yarn=1.13.0-1 + +# Clean up +RUN apt-get autoremove -y \ + && apt-get clean -y \ + && rm -rf /var/lib/apt/lists/* \ No newline at end of file diff --git a/repository-containers/github.com/angular/angular/.devcontainer/devcontainer.json b/repository-containers/github.com/angular/angular/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..8914ec46ea --- /dev/null +++ b/repository-containers/github.com/angular/angular/.devcontainer/devcontainer.json @@ -0,0 +1,5 @@ +{ + "name": "Angular Dev Env", + "dockerFile": "Dockerfile", + "extensions": [] +} \ No newline at end of file