File tree 1 file changed +34
-0
lines changed 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu
2
+ MAINTAINER zikalino
3
+
4
+ RUN apt-get update
5
+ RUN apt-get install -y git curl gnupg vim python3 python3-pip git software-properties-common apt-transport-https wget python3-venv nodejs npm libunwind-dev
6
+
7
+ # install dotnet
8
+ RUN add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
9
+ RUN apt-get update
10
+ RUN apt-get install -y libicu55
11
+
12
+ RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
13
+ RUN dpkg -i packages-microsoft-prod.deb
14
+ RUN apt-get update
15
+ RUN apt-get install -y dotnet-sdk-2.2
16
+
17
+ # install autorest
18
+ RUN npm install -g autorest
19
+ RUN npm install -g n
20
+ RUN n 10.15.0
21
+
22
+ RUN pip3 install wheel
23
+
24
+ # clone repos
25
+ RUN git clone https://github.com/Azure/azure-rest-api-specs.git
26
+ RUN git clone https://github.com/Azure/azure-sdk-for-python.git
27
+
28
+ # setup virtual env
29
+ RUN cd /azure-sdk-for-python; python3 -m venv env3.7
30
+ ENV VIRTUAL_ENV /azure-sdk-for-python;/env3.7
31
+ ENV PATH /azure-sdk-for-python/env3.7/bin:$PATH
32
+
33
+ # run setup
34
+ RUN cd /azure-sdk-for-python; python ./scripts/dev_setup.py
You can’t perform that action at this time.
0 commit comments