Tidy up the dev environment a bit

This commit is contained in:
Shane McDonald
2020-04-04 15:08:09 -04:00
parent 99511de728
commit 6fc815937b
5 changed files with 186 additions and 210 deletions

View File

@@ -1,20 +1,17 @@
FROM centos:7
FROM centos:8
RUN yum -y update && yum -y install epel-release && yum -y install https://centos7.iuscommunity.org/ius-release.rpm
RUN yum install -y bzip2 \
RUN dnf -y update && dnf -y install epel-release && \
dnf install -y bzip2 \
gcc-c++ \
gettext \
git2u \
git2u-core \
git \
make \
nodejs \
python36-setuptools
python3 \
python3-setuptools
# Use the distro provided npm to bootstrap our required version of node
RUN npm install -g n
RUN n 10.15.0
RUN yum remove -y nodejs
RUN npm install -g n && n 10.15.0 && dnf remove -y nodejs
ENV PATH=/usr/local/n/versions/node/10.15.0/bin:$PATH