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
|
2015-03-26 20:09:15 +03:00
|
|
|
FROM fedora:21
|
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 \
|
2015-03-26 20:13:49 +03:00
|
|
|
rpmdevtools \
|
|
|
|
nodejs \
|
|
|
|
npm
|
2014-10-23 03:12:29 +04:00
|
|
|
|
2015-03-26 20:38:58 +03:00
|
|
|
RUN npm install -g npm@1.4.28 --loglevel error
|
2015-03-26 20:27:34 +03:00
|
|
|
|
2014-10-23 04:03:05 +04:00
|
|
|
ADD . /atom
|
|
|
|
WORKDIR /atom
|