fix build
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2023-05-13 13:47:25 +02:00
parent c7591d736c
commit e171f0420d
Signed by: paspo
GPG Key ID: 06D46905D19D5182
1 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,9 @@ FROM centos:7.7.1908
RUN \
sed -i 's/^keepcache.*/keepcache=1/' /etc/yum.conf && \
yum upgrade -y && \
yum localinstall -y http://mirror.nethserver.org/nethserver/7/base/x86_64/Packages/nethserver-release-7-15.ns7.noarch.rpm && \
yum install -y sudo cmake automake autoconf libtool gcc gcc-c++ nethserver-mock
yum localinstall -y http://mirror.nethserver.org/nethserver/7/base/x86_64/Packages/nethserver-release-7-19.ns7.noarch.rpm && \
yum install -y sudo cmake automake autoconf libtool gcc gcc-c++ epel-release && \
yum install -y nethserver-mock
# other packages often needed
RUN yum install -y nethserver-devtools hunspell-en