mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 06:28:33 +03:00
Use curl for rpm
This commit is contained in:
parent
e3743db892
commit
e160c725fd
10
Dockerfile
10
Dockerfile
@ -4,6 +4,8 @@
|
|||||||
# Base docker image
|
# Base docker image
|
||||||
FROM fedora:21
|
FROM fedora:21
|
||||||
|
|
||||||
|
RUN curl --silent --location https://rpm.nodesource.com/setup_4.x | bash -
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN yum install -y \
|
RUN yum install -y \
|
||||||
make \
|
make \
|
||||||
@ -12,12 +14,10 @@ RUN yum install -y \
|
|||||||
glibc-devel \
|
glibc-devel \
|
||||||
git-core \
|
git-core \
|
||||||
libgnome-keyring-devel \
|
libgnome-keyring-devel \
|
||||||
rpmdevtools
|
rpmdevtools \
|
||||||
|
nodejs \
|
||||||
|
npm
|
||||||
|
|
||||||
RUN git clone https://github.com/creationix/nvm.git /tmp/.nvm
|
|
||||||
RUN source /tmp/.nvm/nvm.sh
|
|
||||||
RUN nvm install 4.4.7
|
|
||||||
RUN nvm use 4.4.7
|
|
||||||
RUN npm install -g npm --loglevel error
|
RUN npm install -g npm --loglevel error
|
||||||
|
|
||||||
ADD . /atom
|
ADD . /atom
|
||||||
|
Loading…
Reference in New Issue
Block a user