Commit Graph

21 Commits

Author SHA1 Message Date
Harald Welte ff3dc6e45f ensure well-formed config files
Change-Id: Id687e63c418e2e955ccbb92f2420a80fc0704ea4
2018-09-26 09:27:38 +00:00
Oliver Smith 7ed7a2bdd2 Fix "'laforge/debian-jessie-build' not found"
Instead of hardcoding laforge's username in all FROM statements in the
Dockerfiles, make use of the USER variable (as passed through by the
"make/Makefile" with "docker build --build-arg USER=..."). Thanks to
fixeria for proposing this fix!

This requires running docker-ce, old versions of docker (such as the
one in the official repositories of the latest Fedora) don't support
variables in the FROM line. But docker-ce can be installed after
adding docker's 3rd party repositories.

Closes: OS#3457

Change-Id: Ic5f11c8a4e247f632cb6aea6d147e94c53e0130f
2018-09-06 15:17:06 +02:00
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 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 453f690c97 ggsn/stp: Avoid calling /bin/sh but directly exec()ing the program 2017-08-20 12:53:43 +02:00
Harald Welte e828557ed2 osmo-stp: Write logfile to volume in /data 2017-08-20 12:10:08 +02:00
Harald Welte f09af0f9db osmo-stp-master mount 'stp-vol' 2017-08-20 12:09:09 +02:00
Harald Welte 1f19d66cfe bumped to version 0.1.0 2017-08-20 12:07:21 +02:00
Harald Welte 78b42e1e49 fix .release file contents (wrong name / copy+paste error) 2017-08-20 12:00:54 +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 99eda5463e move libsctp-dev into debian-jessie-build Dockerfile
avoid having to use it by virtuall all downstream Dockerfiles
2017-05-03 21:19:55 +02:00
Harald Welte 171fcccffa add telnet client to osmo-stp-master and debian-jessie-osmocom
Osmocom programs need telnet to access the vty
2017-05-03 17:12:02 +02:00
Harald Welte 3f7ff12115 Dockerfile for a containes with m3ua-testtool / sua-testtool 2017-05-03 16:50:02 +02:00