nethserver 7 support
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

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

View File

@ -1,9 +1,9 @@
FROM centos:6 FROM centos:7
RUN \ RUN \
sed -i 's/^keepcache.*/keepcache=1/' /etc/yum.conf && \ sed -i 's/^keepcache.*/keepcache=1/' /etc/yum.conf && \
yum upgrade -y && \ 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 yum install -y sudo cmake automake autoconf libtool gcc gcc-c++ nethserver-mock
# other packages often needed # other packages often needed