This repository was archived by the owner on May 23, 2021. It is now read-only.
File tree 3 files changed +26
-3
lines changed
3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ steps:
12
12
- ./scripts/cacher.sh
13
13
14
14
- name : build
15
- image : node:12
15
+ image : codercom/nbin:centos
16
16
commands :
17
- - apt update && apt install -y build-essential ccache
18
17
- yarn
18
+ - . /opt/rh/devtoolset-6/enable
19
19
- timeout 50m ./scripts/ci.bash || echo 'Timed out or failed; continuing so we can preserve cache for the next run'
20
20
21
21
- name : cache:package
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @coder/nbin" ,
3
- "version" : " 1.2.8 " ,
3
+ "version" : " 1.2.7 " ,
4
4
"description" : " Fast and robust node.js binary compiler." ,
5
5
"main" : " out/api/index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change
1
+ FROM centos:7
2
+
3
+ RUN yum update -y \
4
+ && yum install -y epel-release centos-release-scl \
5
+ && yum-config-manager --enable rhel-server-rhscl-7-rpms \
6
+ && yum update -y
7
+
8
+ RUN yum install -y \
9
+ devtoolset-6 \
10
+ gcc-c++ \
11
+ xz \
12
+ ccache \
13
+ git \
14
+ wget
15
+
16
+ RUN mkdir /root/node \
17
+ && cd /root/node \
18
+ && curl https://nodejs.org/dist/v12.14.0/node-v12.14.0-linux-x64.tar.xz | tar xJ --strip-components=1 -- \
19
+ && ln -s /root/node/bin/node /usr/bin/node
20
+
21
+ ENV PATH "$PATH:/root/node/bin"
22
+
23
+ RUN npm install -g yarn
You can’t perform that action at this time.
0 commit comments