mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
37 lines
693 B
Docker
37 lines
693 B
Docker
|
ARG REPO=https://github.com/symphonyoss/SymphonyElectron.git
|
||
|
ARG BRANCH=master
|
||
|
|
||
|
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 \
|
||
|
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"]
|