Fix #47 Move the docker to an external repository

This commit is contained in:
Timothée Jaussoin 2023-03-23 10:54:26 +00:00
parent c5deca93a6
commit 4df826bcd2
6 changed files with 6 additions and 41 deletions

View file

@ -1,12 +1,12 @@
rocky8-package:
extends: .package
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-rocky8-php:$ROCKY_8_IMAGE_VERSION
image: gitlab.linphone.org:4567/bc/public/docker/rocky8-php:$ROCKY_8_IMAGE_VERSION
script:
- make rpm
debian11-package:
extends: .package
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian11-php:$DEBIAN_11_IMAGE_VERSION
image: gitlab.linphone.org:4567/bc/public/docker/debian11-php:$DEBIAN_11_IMAGE_VERSION
script:
- make deb

View file

@ -1,6 +1,6 @@
rocky8-test:
extends: .test
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-rocky8-php:$ROCKY_8_IMAGE_VERSION
image: gitlab.linphone.org:4567/bc/public/docker/rocky8-php:$ROCKY_8_IMAGE_VERSION
needs:
- rocky8-package
script:
@ -14,7 +14,7 @@ rocky8-test:
debian11-test:
extends: .test
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian11-php:$DEBIAN_11_IMAGE_VERSION
image: gitlab.linphone.org:4567/bc/public/docker/debian11-php:$DEBIAN_11_IMAGE_VERSION
needs:
- debian11-package
script:

View file

@ -1,6 +1,6 @@
variables:
ROCKY_8_IMAGE_VERSION: 20221212_php80
DEBIAN_11_IMAGE_VERSION: 20221212_php82
ROCKY_8_IMAGE_VERSION: 20230323_113930_add_git
DEBIAN_11_IMAGE_VERSION: 20230322_172926_missing_tools
include:
- '.gitlab-ci-files/package.yml'

View file

@ -1,11 +0,0 @@
FROM gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
USER root
# Install Remi repository
RUN yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm
RUN yum-config-manager --enable remi-php80
RUn yum -y update && yum -y upgrade
# Install dependencies
RUN yum -y install centos-release-scl.noarch sysvinit-tools
RUN yum -y install php php-mbstring composer

View file

@ -1,14 +0,0 @@
FROM gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian11:2022_10_13_update_docker_image
MAINTAINER Peio Rigaux <peio.rigaux@belledonne-communications.com>
USER root
# Install Sury repository
RUN curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x
# Install dependencies
RUN apt update && apt -y install php php-xml php-curl composer rsync
# Setup the Debian repository
RUN apt install wget
RUN wget https://linphone.org/snapshots/debian/keyring.gpg -O - | sudo apt-key add -
RUN echo 'deb [arch=amd64] http://linphone.org/snapshots/debian '$(lsb_release -cs)' stable' > /etc/apt/sources.list.d/belledonne.list

View file

@ -1,10 +0,0 @@
FROM gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos8:2022_10_13_update_docker_image
USER root
# Install Remi repository
RUN dnf -y update
RUN dnf -y install http://rpms.remirepo.net/enterprise/remi-release-8.5.rpm
RUN dnf module enable php:remi-8.0 -y
# Install dependencies
RUN dnf -y install php php-mbstring composer