Remove cache from docker images after installing packages

This commit is contained in:
arminius 2023-10-06 03:55:11 +02:00
parent 87ff0e4fda
commit f6946f9898
5 changed files with 10 additions and 6 deletions

View file

@ -11,8 +11,9 @@ ENV IS_DOCKER=YES
# Prepare Fedora environment
RUN dnf update -y \
&& yum install https://rpm.nodesource.com/pub_20.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y \
&& dnf install -y @buildsys-build rpmdevtools git dnf-plugins-core nodejs autoconf automake glibc-devel make --setopt=nodesource-nodejs.module_hotfixes=1
&& dnf install https://rpm.nodesource.com/pub_20.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y \
&& dnf install -y @buildsys-build rpmdevtools git dnf-plugins-core nodejs autoconf automake glibc-devel make --setopt=nodesource-nodejs.module_hotfixes=1 \
&& dnf clean all
# Link to build script
RUN ln -sf ${SOURCE_DIR}/deployment/build.fedora /build.sh