... | ... |
@@ -6,8 +6,8 @@ compiler: |
6 | 6 |
services: |
7 | 7 |
- docker |
8 | 8 |
before_install: |
9 |
- - docker pull linuxmaniac/pkg-kamailio-docker:stretch |
|
10 |
-script: docker run -v $TRAVIS_BUILD_DIR:/code:rw linuxmaniac/pkg-kamailio-docker:stretch /bin/bash -c "export CC=$CC; cd /code; ./test/travis/build_travis.sh" |
|
9 |
+ - docker pull kamailio/pkg-kamailio-docker:dev-stretch |
|
10 |
+script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:dev-stretch /bin/bash -c "export CC=$CC; cd /code; ./test/travis/build_travis.sh" |
|
11 | 11 |
branches: |
12 | 12 |
only: |
13 | 13 |
- 'master' |
... | ... |
@@ -11,8 +11,8 @@ systems. |
11 | 11 |
Docker containers |
12 | 12 |
----------------- |
13 | 13 |
|
14 |
-The default used container is built at [docker hub](https://hub.docker.com/r/linuxmaniac/pkg-kamailio-docker/) |
|
15 |
-and it is a Debian Stretch based image done with the following [DockerFile](https://github.com/linuxmaniac/pkg-kamailio-docker/blob/master/stretch/Dockerfile) |
|
14 |
+The default used container is built at [docker hub](https://hub.docker.com/r/kamailio/pkg-kamailio-docker/) |
|
15 |
+and it is a Debian Stretch based image done with the following [DockerFile](https://github.com/kamailio/pkg-kamailio-docker/blob/master/stretch/DockerfileDockerfile) |
|
16 | 16 |
|
17 | 17 |
Build Locally |
18 | 18 |
------------- |
... | ... |
@@ -20,11 +20,13 @@ Build Locally |
20 | 20 |
Same steps defined at [.travis.yml](https://github.com/kamailio/kamailio/blob/master/.travis.yml): |
21 | 21 |
|
22 | 22 |
* Choose the compiler to be used by setting the variable `CC` to `gcc` or `clang` |
23 |
+ * Choose version and distribution setting `VERSION` and `DIST` |
|
23 | 24 |
|
24 | 25 |
``` |
25 |
-$ docker pull linuxmaniac/pkg-kamailio-docker:stretch |
|
26 |
+$ export DIST=stretch VERSION=dev |
|
27 |
+$ docker pull kamailio/pkg-kamailio-docker:${VERSION}-${DIST} |
|
26 | 28 |
$ docker run \ |
27 |
- -v $(pwd):/code:rw linuxmaniac/pkg-kamailio-docker:stretch \ |
|
29 |
+ -v $(pwd):/code:rw linuxmaniac/pkg-kamailio-docker:${VERSION}-${DIST} \ |
|
28 | 30 |
/bin/bash -c "export CC=gcc; cd /code; ./test/travis/build_travis.sh" |
29 | 31 |
``` |
30 | 32 |
|
... | ... |
@@ -36,7 +38,7 @@ Clean Sources |
36 | 38 |
|
37 | 39 |
``` |
38 | 40 |
$ docker run \ |
39 |
- -v $(pwd):/code:rw linuxmaniac/pkg-kamailio-docker:stretch \ |
|
41 |
+ -v $(pwd):/code:rw kamailio/pkg-kamailio-docker:${VERSION}-${DIST} \ |
|
40 | 42 |
/bin/bash -c "cd /code; make -f debian/rules clean; rm -rf debian" |
41 | 43 |
``` |
42 | 44 |
|
... | ... |
@@ -45,20 +47,20 @@ Login Inside The Build Environment |
45 | 47 |
|
46 | 48 |
``` |
47 | 49 |
$ docker run -i -t \ |
48 |
- -v $(pwd):/code:rw linuxmaniac/pkg-kamailio-docker:stretch /bin/bash |
|
50 |
+ -v $(pwd):/code:rw kamailio/pkg-kamailio-docker:${VERSION}-${DIST} /bin/bash |
|
49 | 51 |
``` |
50 | 52 |
|
51 | 53 |
Use Other Debian Distributions |
52 | 54 |
------------------------------ |
53 | 55 |
|
54 |
-There are several container [images available](https://hub.docker.com/r/linuxmaniac/pkg-kamailio-docker/tags/) already. |
|
56 |
+There are several container [images available](https://hub.docker.com/r/kamailio/pkg-kamailio-docker/tags/) already. |
|
55 | 57 |
One can just use any of the them by selecting the proper tag: |
56 | 58 |
|
57 | 59 |
``` |
58 |
-$ export $DIST=sid |
|
59 |
-$ docker pull linuxmaniac/pkg-kamailio-docker:$DIST |
|
60 |
+$ export DIST=sid VERSION=dev |
|
61 |
+$ docker pull kamailio/pkg-kamailio-docker:${VERSION}-${DIST} |
|
60 | 62 |
$ docker run \ |
61 |
- -v $(pwd):/code:rw linuxmaniac/pkg-kamailio-docker:$DIST \ |
|
63 |
+ -v $(pwd):/code:rw kamailio/pkg-kamailio-docker:${VERSION}-${DIST} \ |
|
62 | 64 |
/bin/bash -c "export CC=$CC; cd /code; DIST=$DIST ./test/travis/build_travis.sh" |
63 | 65 |
``` |
64 | 66 |
|