nethserver 7 support
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Paolo Asperti 2019-04-25 10:59:31 +02:00
parent 44fdfa9ad2
commit fda0556b3b
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 6 additions and 4 deletions

View File

@ -10,7 +10,8 @@ steps:
dry_run: true
repo: registry.libreschool.org/libreschool-automation/rpm-build
tags:
- 6
- latest
- 7
when:
event:
exclude:
@ -26,7 +27,8 @@ steps:
registry: registry.libreschool.org
repo: registry.libreschool.org/libreschool-automation/rpm-build
tags:
- 6
- latest
- 7
username:
from_secret: docker_username
when:

View File

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