Update to node 20
fix some issues with dockerfiles combine installation statements into a single layer
This commit is contained in:
parent
b1847a5fcc
commit
05181616ae
11 changed files with 29 additions and 23 deletions
|
@ -13,8 +13,8 @@ ENV IS_DOCKER=YES
|
|||
RUN yum update -y \
|
||||
&& yum install -y epel-release \
|
||||
&& yum install -y rpmdevtools git autoconf automake glibc-devel gcc-c++ make \
|
||||
&& curl -fsSL https://rpm.nodesource.com/setup_16.x | bash - \
|
||||
&& yum install -y nodejs
|
||||
&& yum install https://rpm.nodesource.com/pub_20.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y \
|
||||
&& yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
|
||||
|
||||
# Link to build script
|
||||
RUN ln -sf ${SOURCE_DIR}/deployment/build.centos /build.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue