FROM mcr.microsoft.com/dotnet/core/sdk:2.1-bionic
# set up node
ENV NODE_VERSION 10.15.3
ENV NODE_DOWNLOAD_SHA 6c35b85a7cd4188ab7578354277b2b2ca43eacc864a2a16b3669753ec2369d52
RUN curl -SL "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.gz" --output nodejs.tar.gz \
&& echo "$NODE_DOWNLOAD_SHA nodejs.tar.gz" | sha256sum -c - \
&& tar -xzf "nodejs.tar.gz" -C /usr/local --strip-components=1 \
&& rm nodejs.tar.gz \
&& ln -s /usr/local/bin/node /usr/local/bin/nodejs
# set up gulp
RUN npm install -g gulp
# set up bower
RUN npm install -g bower
# set up angular
RUN npm install -g @angular/cli
# Install AWS EB Command
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update \
&& apt-get install -y python3-pip language-pack-en awscli \
&& pip3 install awsebcli --upgrade
# Install Google Chrome for headless unit tests.
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt install -y ./google-chrome-stable_current_amd64.deb && \
rm -f ./google-chrome-stable_current_amd64.deb
Content type
Image
Digest
Size
949.4 MB
Last updated
over 6 years ago
docker pull brantolsen/dotnetcore-2.1-with-node-bower-gulp