forked from finos/SymphonyElectron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
39 lines (32 loc) · 743 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
30
31
32
33
34
35
36
37
38
39
ARG REPO=https://github.com/symphonyoss/SymphonyElectron.git
ARG BRANCH=main
FROM ubuntu:latest
ARG REPO
ARG BRANCH
MAINTAINER Kiran Niranjan<kiran.niranjan@symphony.com>
# Update
RUN apt-get update
# Install dependencies
RUN apt-get install -y \
curl \
git \
gcc \
g++ \
make \
build-essential \
libssl-dev \
libx11-dev \
libxkbfile-dev \
libxtst-dev \
libpng-dev \
zlib1g-dev \
rpm
# install node
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash
RUN apt-get install -y nodejs
# Clone specific branch and repo
RUN echo ${BRANCH} ${REPO}
RUN git clone -b ${BRANCH} ${REPO}
WORKDIR SymphonyElectron
CMD ["chmod +x scripts/build-linux.sh"]
CMD ["sh", "scripts/build-linux.sh"]