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

Commit

Permalink
put commends back inline to help demonstrate what commands mean
Browse files Browse the repository at this point in the history
  • Loading branch information
krystan committed Jun 8, 2019
1 parent 0848096 commit 0aa8765
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion containers/typescript-node-8/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ FROM node:8

# Configure apt
ENV DEBIAN_FRONTEND=noninteractive

# Set the default shell to bash instead of sh
ENV SHELL /bin/bash


RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
&& apt-get install -y git procps \
# Verify git and needed tools are installed
&& apt-get install -y git procps \
# Remove outdated yarn from /opt and install via package
# so it can be easily updated via apt-get upgrade yarn
&& rm -rf /opt/yarn-* \
&& rm -f /usr/local/bin/yarn \
&& rm -f /usr/local/bin/yarnpkg \
Expand All @@ -20,7 +26,9 @@ RUN apt-get update \
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get -y install --no-install-recommends yarn \
# Install tslint and typescript
&& npm install -g tslint typescript \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 0aa8765

Please sign in to comment.