Giter Site home page Giter Site logo

docker-opensips's Introduction

Build Status Unit Tests OSS-Fuzz Cross Platform Builds Coverity Scan Build Status Code Quality: Cpp Total Alerts

Welcome to OpenSIPS Project

About

OpenSIPS is a GPL licensed SIP server implementation. It started as a fork of Fokus Fraunhofer SIP Express Router (SER) project. OpenSIPS wants to be a more open project, not only from license point of view, but more open as project management, especially for external contributions.

OpenSIPS wants to overcome the development latency of current SER project, to ensure a shorter path into a release for new added features. OpenSIPS is a project maintained by OpenSIPS Solutions http://www.opensips-solutions.com/ by a team including core and main developers of SER project.

Info

For information regarding the OpenSIPS installation, please see the INSTALL file.

For current developers/contributors of this project, see the CREDITS and AUTHORS file. For complete license information, please see the COPYING file. For an overview of OpenSIPS modules, a modules listing is available on the opensips.org website.

Docs

Documentation about each module can be found in the README file in each module directory. For online documentation, please see https://opensips.org/Resources/Documentation

For additional documentation, tutorials and examples please see also https://opensips.org/Resources/DocsTutorials

Questions

For any question related to the OpenSIPS usage, please use the [email protected] public mailing list.

For questions regarding the development of OpenSIPS - like contributions, bug reports, etc - please use the [email protected] public mailing list.

For questions regarding businesses around OpenSIPS - like products,· consultancy, trainings, etc - please use the [email protected] public mailing list.

Also there is a generic news mailing list where you can learn about what is· new or important for the OpenSIPS project, about alerts and updates regarding relaces and about events around the project. [email protected]

docker-opensips's People

Contributors

bogdan-iancu avatar josh-hogan avatar paulvi avatar razvancrainea avatar sharadkumar97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-opensips's Issues

APT Repository not able to install opensips-cli

Opensips-cli is not able to be installed, as there is no cli-nightly in the opensips apt repository anymore
(https://apt.opensips.org/dists/bionic/)

Command Ran: make build

Result:

josh@Joshs-Laptop-Ubuntu:~/Desktop/vxt/docker-opensips$ make build

docker build \\

        --build-arg=OPENSIPS\_BUILD=releases \\

        --build-arg=OPENSIPS\_VERSION=3.1 \\

        --build-arg=OPENSIPS\_CLI=true \\

        --build-arg=OPENSIPS\_EXTRA\_MODULES="" \\

        --tag="opensips/opensips:latest" \\

        .

Sending build context to Docker daemon  206.3kB

Step 1/18 : FROM debian:buster

 ---> 463adba1ec3f

Step 2/18 : LABEL maintainer="Razvan Crainea <[email protected]>"

 ---> Using cache

 ---> 36b3a24cea85

Step 3/18 : USER root

 ---> Using cache

 ---> a2b1d04a0c85

Step 4/18 : ENV DEBIAN\_FRONTEND noninteractive

 ---> Using cache

 ---> 12587531a440

Step 5/18 : ARG OPENSIPS\_VERSION=3.1

 ---> Using cache

 ---> f210f51bf1a6

Step 6/18 : ARG OPENSIPS\_BUILD=releases

 ---> Using cache

 ---> b86b5a1140ef

Step 7/18 : RUN apt-get -y update -qq && apt-get -y install gnupg2 ca-certificates

 ---> Using cache

 ---> c831a8441ec3

Step 8/18 : RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 049AD65B

 ---> Using cache

 ---> 4c24fdc79eb8

Step 9/18 : RUN echo "deb https://apt.opensips.org buster ${OPENSIPS\_VERSION}-${OPENSIPS\_BUILD}" >/etc/apt/sources.list.d/opensips.list

 ---> Using cache

 ---> 93a1c1862f02

Step 10/18 : RUN apt-get -y update -qq && apt-get -y install opensips

 ---> Using cache

 ---> fb3e8ab3038a

Step 11/18 : ARG OPENSIPS\_CLI=false

 ---> Using cache

 ---> f777255d473e

Step 12/18 : RUN if \[ ${OPENSIPS\_CLI} = true \]; then     echo "deb https://apt.opensips.org buster cli-nightly" >/etc/apt/sources.list.d/opensips-cli.list     && apt-get -y update -qq && apt-get -y install opensips-cli     ;fi

 ---> Running in 9856e172b434

W: Skipping acquire of configured file 'cli-nightly/binary-amd64/Packages' as repository 'https://apt.opensips.org buster InRelease' doesn't have the component 'cli-nightly' (component misspelt in sources.list?)

Reading package lists...

Building dependency tree...

Reading state information...

E: Unable to locate package opensips-cli

The command '/bin/sh -c if \[ ${OPENSIPS\_CLI} = true \]; then     echo "deb https://apt.opensips.org buster cli-nightly" >/etc/apt/sources.list.d/opensips-cli.list     && apt-get -y update -qq && apt-get -y install opensips-cli     ;fi' returned a non-zero code: 100

make: \*\*\* \[Makefile:12: build\] Error 100

josh@Joshs-Laptop-Ubuntu:~/Desktop/vxt/docker-opensips$

"Unable to locate package opensips-cli" error on image build

$ sudo docker build -t opensips/opensips:3.4.2 \
> --build-arg OPENSIPS_BUILD=releases \
> --build-arg OPENSIPS_VERSION=3.4 \
> --build-arg OPENSIPS_VERSION_MINOR=2 \
> --build-arg OPENSIPS_CLI=true \
> --build-arg OPENSIPS_EXTRA_MODULES='opensips-auth-modules opensips-http-modules opensips-mysql-module opensips-restclient-module opensips-tls-module opensips-tls-openssl-module opensips-tlsmgm-module opensips-wss-module' \
> --no-cache /opt/docker-opensips/
...
Step 14/20 : RUN if [ ${OPENSIPS_CLI} = true ]; then     echo "deb https://apt.opensips.org bullseye cli-nightly" >/etc/apt/sources.list.d/opensips-cli.list     && apt-get -y update -qq && apt-get -y install opensips-cli     ;fi
 ---> Running in 149f63294dac

W: Skipping acquire of configured file 'cli-nightly/binary-amd64/Packages' as repository 'https://apt.opensips.org bullseye InRelease' doesn't have the component 'cli-nightly' (component misspelt in sources.list?)
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package opensips-cli
The command '/bin/sh -c if [ ${OPENSIPS_CLI} = true ]; then     echo "deb https://apt.opensips.org bullseye cli-nightly" >/etc/apt/sources.list.d/opensips-cli.list     && apt-get -y update -qq && apt-get -y install opensips-cli     ;fi' returned a non-zero code: 100

Missing option to specify minor OpenSIPS version

I might be wrong, but it looks like the only way to upgrade packages to another minor versions is either manually by running update command inside containers, which is not preferable, or, simply destroy old containers and re-build the image, so the last version would be downloaded.

It would be really nice if we could specify minor version as well, perhaps as another env. variable, so when the image is being built, it will make sure that needed minor version will be downloaded and installed, that would make maintenance of security upgrades much easier.

Makefile not updated

Makefile hasn't been updated to match the changes committed to Dockerfile in commit d5592ea.
The change d5592ea#diff-3254677a7917c6c01f55212f86c57fbfR9 introduces OPENSIPS_VERSION and OPENSIPS_BUILD instead of VERSION and BUILD. This leads to the Dockerfile only picking the default version and build.
This can be fixed by applying the following patch to Makefile
diff --git a/Makefile b/Makefile
index b31a248..2b28259 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,8 @@ all: build start
.PHONY: build start
build:
docker build \

  •           --build-arg=BUILD=$(OPENSIPS_BUILD) \
    
  •           --build-arg=VERSION=$(OPENSIPS_VERSION) \
    
  •           --build-arg=OPENSIPS_BUILD=$(OPENSIPS_BUILD) \
    
  •           --build-arg=OPENSIPS_VERSION=$(OPENSIPS_VERSION) \
              --tag="opensips/opensips:$(OPENSIPS_DOCKER_TAG)" \
    

Automate docker images publish

Create a github actions that automatically publishes different flavors of OpenSIPS:

  • Latest 3.4 release
  • Latest 3.3 release
  • Latest 3.2 release
  • Nightly 3.5 SIPssert
  • Nightly 3.4 SIPssert
  • Nightly 3.3 SIPssert

It would also be nice if we could customize the SIPssert triggers to add custom packages to the image.

Update to 3.0.1 ?

1st of October 2018 The first minor release of OpenSIPS 3.0 branch consists of important bug fixes!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.