Commit Graph

26 Commits

Author SHA1 Message Date
Harald Welte 0434f34c36 osmo-*-master: add Dockerfile ARG for git repo branch to be built
This allows the user to build any non-master branches of the related
repositories, which is helpful for local testing before pushing changes
to git.

Change-Id: I0c3349e9a60015472c96bd24fbf29aad57501a00
2018-05-23 20:00:24 +02:00
Harald Welte afe1ec8dc1 Release.key of osmocom-nightly has expired; update it in all Dockerfiles 2018-02-04 17:20:04 +01:00
Harald Welte e0e2d6e96a osmo-*: Ensure container is rebuilt if nightly repo is updated
Let's use the "ADD" trick that we use for git repositories also for
the osmocom:nightly debian package feed.  This way any change to the
package feed will result in a rebuild of the container.
2017-12-17 10:48:54 +00:00
Harald Welte 1772bc022b osmo-ggsn-master: Enable ipv6 forwarding
We want to be able to reach the external PDN from the PDP contexts,
and hence need to enable IPV6 forwarding between the tun device
and the PDN device(s).  The latter are added using "docker network
connect"
2017-10-15 14:47:28 +00:00
Harald Welte a899ae3688 osmo-ggsn-master: Introduce 'branch' build-time-argumetn to Dockerfile
We can build non-master branches thsi way.
2017-10-14 14:25:26 +00:00
Harald Welte 6202d089c3 osmo-ggsn-master: fix syntax of "make run" arguments 2017-10-14 14:24:48 +00:00
Harald Welte 54d7362cc2 osmo-ggsn-mater: switch to osmo-ggsn.git
openggsn.git is deprecated now, use master branch of osmo-ggsn.git
2017-09-06 12:30:11 +02:00
Harald Welte 33149a7162 osmo-ggsn-master: Rename config file for openggsn -> osmo-ggsn change 2017-09-05 20:25:13 +02:00
Harald Welte dcf652ccbe osmo-ggsn-mater: Add missing 'git checkout'
When rebuilding the docker image, it's important to not only git
checkout but also to git fetch before, otherwise we won't build
new code ;)
2017-09-05 20:00:45 +02:00
Harald Welte e21fe3a4fe Fix Dockerfile syntax error in apt-get command 2017-08-28 07:46:41 +02:00
Harald Welte 3c1dc34c91 apt-get: always use --no-install-recommends and apt-get clean
this helps us to avoid installing unneeded packages and removes the
package cache from the images to keep them less bloated.
2017-08-27 09:53:26 +02:00
Harald Welte fda289fd60 osmo-*: Bind to INADDR_ANY so telnet/VTY is reachable remotely
We're using this in an internal network for jenkins integration
testing, so no security concern.
2017-08-20 21:43:23 +02:00
Harald Welte 19c9c2b8b2 ggsn: Use SIGINT as this is handled in ggsn for fast termination
For some reason, it appears that if docker sends SIGTERM the default
action (kernel auto terminate) is not installed, but it expects the
program to handle it directly.  Let's tell docker to use SIGINT as
this is what ggsn always handled.
2017-08-20 12:54:01 +02:00
Harald Welte 453f690c97 ggsn/stp: Avoid calling /bin/sh but directly exec()ing the program 2017-08-20 12:53:43 +02:00
Harald Welte eaba6643d8 bumped to version 0.1.0 2017-08-20 12:07:40 +02:00
Harald Welte 78b42e1e49 fix .release file contents (wrong name / copy+paste error) 2017-08-20 12:00:54 +02:00
Harald Welte e4cbc63be8 ggsn: log to a file in /data volume 2017-08-20 08:46:00 +02:00
Harald Welte 6db9eb61a9 ggsn: Log to /data volume so log file can be reviewed in jenkins 2017-08-20 08:30:53 +02:00
Harald Welte c603362eac ggsn/ggsn-test: Don't disable ipv6 2017-08-20 08:28:58 +02:00
Harald Welte 1649a01167 Use 'patch' not 'commit' from cgit for repo change detection
the 'commit' output contains a timestamp, so every second the
result will be different.  'patch' doesn't have this.
2017-08-19 21:56:07 +02:00
Harald Welte fc8eaf2bcf Use laforge/ in all dependencies 2017-08-19 21:55:45 +02:00
Harald Welte 32f8b870cd Ensure docker cache fails if git repositories change 2017-08-19 21:09:49 +02:00
Harald Welte 4bda77175e Introduce 'make run' to run the respective container 2017-08-19 19:51:35 +02:00
Harald Welte 460247905d introduce makefile based build 2017-08-19 19:42:45 +02:00
Harald Welte fd7b5363e8 use '--rm' argumetn to 'docker run' to clean up after exit 2017-08-19 15:49:24 +02:00
Harald Welte b464ab721b Add osmo-ggsn-master and ggsn-test
This specifies two docker containers using which we can execute the
TTCN-3 tests against OpenGGSN.
2017-08-19 14:49:54 +02:00