Skip to content

Commit 580d1ba

Browse files
committed
added Dockerfile
1 parent fffa17a commit 580d1ba

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/OperationalInsights/Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
FROM mcr.microsoft.com/powershell:7.1.3-ubuntu-18.04
2+
3+
# Install dependencies and clean up
4+
RUN apt-get update \
5+
&& apt-get install -y curl \
6+
&& curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \
7+
&& . /root/.bashrc \
8+
&& nvm install 14.15.5 \
9+
&& npm config set unsafe-perm true \
10+
&& npm install -g autorest \
11+
&& npm install -g dotnet-sdk-2.1 \
12+
&& apt-get -o Acquire::Check-Valid-Until=false install -y \
13+
&& apt-get clean \
14+
&& rm -rf /var/lib/apt/lists/* \
15+
&& locale-gen $LANG && update-locale
16+
17+
RUN mkdir -p /src
18+
19+
WORKDIR /src
20+
21+
CMD [ "bash" ]

0 commit comments

Comments
 (0)