-
Notifications
You must be signed in to change notification settings - Fork 577
/
Dockerfile
37 lines (31 loc) · 1.36 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM centos:7
RUN yum install -y centos-release-scl \
&& yum-config-manager --enable rhel-server-rhscl-7-rpms \
&& yum install -y yum install devtoolset-10 python27 rh-git218 epel-release
ENV NPM_CONFIG_UNSAFE_PERM true
ENV NVM_DIR /tmp/.nvm
RUN yum -y install \
chrpath \
jq \
libconfig-devel \
openssh-clients \
xorg-x11-server-Xvfb \
libXScrnSaver \
gtk3 \
alsa-lib \
ccache \
ninja-build \
&& yum clean all
RUN mkdir -p $NVM_DIR \
&& curl -s https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install 16 \
&& chmod a+rwX -R $NVM_DIR
ENV PATH /opt/rh/rh-git218/root/usr/bin:/opt/rh/python27/root/usr/bin:/opt/rh/devtoolset-10/root/usr/bin:$PATH
ENV