mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 23:26:25 +03:00
Add initial Fedora Dockerfile
This commit is contained in:
parent
71ef21bb70
commit
4db441f4df
27
resources/linux/redhat/Dockerfile
Normal file
27
resources/linux/redhat/Dockerfile
Normal file
@ -0,0 +1,27 @@
|
||||
# VERSION: 0.1
|
||||
# DESCRIPTION: Create a .rpm file for the atom editor
|
||||
|
||||
# Base docker image
|
||||
FROM fedora:20
|
||||
|
||||
# Install dependencies
|
||||
RUN yum install -y \
|
||||
make \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
glibc-devel \
|
||||
git-core \
|
||||
libgnome-keyring-devel \
|
||||
rpmdevtools
|
||||
|
||||
# Install node
|
||||
RUN curl -sL https://rpm.nodesource.com/setup | bash -
|
||||
RUN yum install -y nodejs
|
||||
|
||||
# Clone atom
|
||||
RUN git clone https://github.com/atom/atom /src
|
||||
WORKDIR /src
|
||||
RUN git reset -q --hard $JANKY_SHA1
|
||||
|
||||
# Build the RPM
|
||||
RUN script/build && script/grunt mkrpm
|
Loading…
Reference in New Issue
Block a user