Commit Graph

17 Commits

Author SHA1 Message Date
Harald Welte 027826fdba introduce 'REGISTRY' argument to all Dockerfiles
This is initialized to docker.io, keeping the default behaviour
if not specified.  However, it allows us to specify a private
registry later on.

Related: OS#4839
Change-Id: I32d4ee6256033c809108c1b86cb6b6c58d880f49
2020-11-02 17:02:26 +01:00
Harald Welte 830401f3f1 docker-*-build: Add missign dependency to stow
Change-Id: Ia1adac1e8e56c6dfa283af9cf2e8f426c77ef2e1
2020-01-09 22:11:06 +00:00
Harald Welte 7a69037269 debian-*-build: Add {gcc,newlib}-arm-none-eabi for simtrace2 firmware
The sitmrace2.git firmware buidl requires this cross-compiler.  We
so far didn't build it within this container, but lets make sure
we could, if we'd want.

Change-Id: If335247381aab2621fcbe6e6e596a1416e05fdf4
2020-01-09 22:11:06 +00:00
Oliver Smith 269331461a debian-*-build: don't download "Release" file
Stop jenkins jobs from failing, due to the download errors we are
getting from time to time, by simply not downloading these files. They
are redundant, because we are already running 'docker build --pull'
before trying to build the debian-*-build images [1], and the docker
images are released at least as often, as the "Release" file gets
updated [2].

This is in line with how it is done in osmo-ci.git.

[1]: Change-Id: I1076bbb7d77bdc99f5d60d641c09ce965fb9dfc6
[2]: https://hub.docker.com/_/debian

Change-Id: Ieedb310814412f235e56bdc65517404842eac00f
2019-05-07 06:31:16 +00:00
Harald Welte 6657ba7889 Use ftp.debian.org as a "blind workaround" for trouble with ftp.de
We get a lot of build failures recently like this:

Step 3/4 : ADD  http://ftp.de.debian.org/debian/dists/stretch/Release /tmp/Release
ADD failed: Get http://ftp.de.debian.org/debian/dists/stretch/Release: dial tcp 141.76.2.4:80: i/o timeout
../make/Makefile:44: recipe for target 'docker-build' failed
make: *** [docker-build] Error 1
make: Leaving directory '<https://jenkins.osmocom.org/jenkins/job/ttcn3-sip-test/ws/debian-stretch-build'>
+ exit 1

Let's hope that this works around the connectivity problems with
ftp.de.debian.org

Change-Id: I5a0eb058d95372c44fce042de90c4127a3021a93
2019-04-17 09:10:48 +02:00
Harald Welte 2ae3487e01 debian-*-build: Ensure rebuild on changes in upstream
Let's use the well-known hack of adding the "Release" file
of the respective debian distribution/version to ensure docker
will invalidate the cache if the repository has changed since
the last build.

Change-Id: If6f75db11ef424e46c4915b761f9eca69258a9c5
2018-09-26 10:25:43 +02:00
Harald Welte ef6dd5c500 *-build: Add libgnutls28-dev, as libosmocore requires this now 2017-11-17 10:11:30 +01:00
Harald Welte 0ece58020a debian-jessie-build: Add libncurses-dev (for meas-viz) 2017-08-27 10:02:28 +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 c366037f6a bumped to version 0.3.0 2017-08-27 08:53:44 +02:00
Harald Welte 2938f5acb6 debian-jessie-build: Add more build dependencies 2017-08-27 08:51:25 +02:00
Harald Welte b76aa23ffb bumped to version 0.2.0 2017-08-20 23:47:25 +02:00
Harald Welte 1a03cec68c debian-jessie-buidl: add more osmocom build dependencies 2017-08-20 18:39:08 +02:00
Harald Welte ea5d9d0733 bumped to version 0.1.0 2017-08-20 12:01:36 +02:00
Harald Welte 460247905d introduce makefile based build 2017-08-19 19:42:45 +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 4e6207ac25 Dockerfile for a debian-jessie with support for building software 2017-05-03 15:13:33 +02:00