-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (27 loc) · 1.11 KB
/
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
30
31
32
FROM node:8.12.0-stretch
RUN npm install -g @angular/[email protected]
# FROM node:10.15.3-stretch
# RUN npm install -g @angular/[email protected]
RUN npm install -g typeorm
RUN npm install -g retire
RUN apt-get update
RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
RUN mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
RUN ls -al /etc/apt/trusted.gpg.d/
RUN wget -q https://packages.microsoft.com/config/debian/9/prod.list
RUN mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
RUN chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
RUN chown root:root /etc/apt/sources.list.d/microsoft-prod.list
RUN apt-get install -y apt-transport-https ca-certificates apt-utils
RUN apt-get update
RUN apt-get install -y dotnet-sdk-2.1
RUN wget https://dl.google.com/go/go1.11.5.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.11.5.linux-amd64.tar.gz
RUN rm ./go1.11.5.linux-amd64.tar.gz
RUN /usr/local/go/bin/go get github.com/hairyhenderson/gomplate/cmd/gomplate
COPY ./*.sh ./
COPY ./charts /charts
RUN chmod +x /entrypoint.sh
RUN mkdir workspace
WORKDIR /workspace
ENTRYPOINT ["/entrypoint.sh"]