forked from Azure/autorest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (21 loc) · 781 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM ubuntu:16.04
MAINTAINER lmazuel
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
# Required for install
RUN apt-get update && apt-get install -y curl
# NodeJS
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
apt-get update && apt-get install -y nodejs && \
npm install npm@latest -g
# Dotnet
RUN echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" | tee /etc/apt/sources.list.d/dotnetdev.list && \
apt-get update && apt-get install -y dotnet-dev-1.0.0-preview2.1-003177
# Autorest
RUN npm install -g autorest
RUN autorest --help
# Set the locale to UTF-8
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENTRYPOINT ["autorest"]