2014-10-23 03:12:29 +04:00
|
|
|
# VERSION: 0.1
|
2014-10-23 20:11:13 +04:00
|
|
|
# DESCRIPTION: Image to build Atom and create a .rpm file
|
2014-10-23 03:12:29 +04:00
|
|
|
|
|
|
|
# Base docker image
|
2016-07-26 19:29:25 +03:00
|
|
|
FROM nodesource/fedora21:4.2.6
|
2016-07-14 18:29:42 +03:00
|
|
|
|
2014-10-23 03:12:29 +04:00
|
|
|
# Install dependencies
|
|
|
|
RUN yum install -y \
|
|
|
|
make \
|
|
|
|
gcc \
|
|
|
|
gcc-c++ \
|
|
|
|
glibc-devel \
|
|
|
|
git-core \
|
|
|
|
libgnome-keyring-devel \
|
2016-07-26 19:29:25 +03:00
|
|
|
rpmdevtools
|
2014-10-23 03:12:29 +04:00
|
|
|
|
2016-07-26 19:29:25 +03:00
|
|
|
RUN npm install -g npm --loglevel error
|
2015-03-26 20:27:34 +03:00
|
|
|
|
2014-10-23 04:03:05 +04:00
|
|
|
ADD . /atom
|
|
|
|
WORKDIR /atom
|