Remove cache from docker images after installing packages
This commit is contained in:
parent
87ff0e4fda
commit
f6946f9898
5 changed files with 10 additions and 6 deletions
|
@ -14,7 +14,8 @@ RUN yum update -y \
|
|||
&& yum install -y epel-release \
|
||||
&& yum install -y rpmdevtools git autoconf automake glibc-devel gcc-c++ make \
|
||||
&& 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
|
||||
&& yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1 \
|
||||
&& yum clean all
|
||||
|
||||
# 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