-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zim Kalinowski
authored
Jul 18, 2019
1 parent
47c24b5
commit 337db3c
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM ubuntu | ||
MAINTAINER zikalino | ||
|
||
RUN apt-get update | ||
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 | ||
|
||
# install dotnet | ||
RUN add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" | ||
RUN apt-get update | ||
RUN apt-get install -y libicu55 | ||
|
||
RUN wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb | ||
RUN dpkg -i packages-microsoft-prod.deb | ||
RUN apt-get update | ||
RUN apt-get install -y dotnet-sdk-2.2 | ||
|
||
# install autorest | ||
RUN npm install -g autorest | ||
RUN npm install -g n | ||
RUN n 10.15.0 | ||
|
||
RUN pip3 install wheel | ||
|
||
# clone repos | ||
RUN git clone https://github.com/Azure/azure-rest-api-specs.git | ||
RUN git clone https://github.com/Azure/azure-sdk-for-python.git | ||
|
||
# setup virtual env | ||
RUN cd /azure-sdk-for-python; python3 -m venv env3.7 | ||
ENV VIRTUAL_ENV /azure-sdk-for-python;/env3.7 | ||
ENV PATH /azure-sdk-for-python/env3.7/bin:$PATH | ||
|
||
# run setup | ||
RUN cd /azure-sdk-for-python; python ./scripts/dev_setup.py |