Commit Graph

9 Commits

Author SHA1 Message Date
Vadim Yanitskiy 52da726342 debian-{bullseye,buster,jessie}-build: install 'equivs' package
This package is required by Debian's mk-build-deps tool.

Change-Id: Id599d70dc7e5222d62aa5c155bbc75420b913de5
Related: SYS#5602
2022-02-04 13:33:40 +00:00
Harald Welte ab69bcc39b debian-{buster,stretch}-*: Explicitly specify DISTRO variables
It seems a manual 'make' in the respective directories no longer
works, as always the default distro is used as upstream reference.

Let's work around this by adding DISTRO variable assignments to the
respective makefiles.

Change-Id: I8769d504ca7afde07d4a0ad1f03aaaec892bf576
2021-12-15 18:05:19 +00:00
Harald Welte 7b607306b7 sync debian-buster-build with debian-stretch-build
Change-Id: I6f871613fc4e8dd069cbe8c4a0ef3d1725be8c7a
2021-12-15 18:04:45 +00:00
Vadim Yanitskiy 085656ac45 Make respawn.sh a common part of *-build/-obs images
Maintaining several versions of the same file in different folders
is a bad idea, because at some point their content gets out of sync.
This is exactly what happened to 'respawn.sh': sleep()ing was only
implemented in 'osmo-bts-master/respawn.sh', other versions of this
file would simply ignore '$SLEEP_BEFORE_RESPAWN'.

The easiest solution would be to have all common files in a single
directory, however Docker does not allow to ADD files from outside
of the build context.  In other words, all files must be in the
same directory as the Dockerfile itself.

Modify 'make/Makefile' in order to copy the contents of common
directory to the current build context ('pre-build' target) and
remove it after building ('post-build' target).

Change-Id: I3ec86c8610b3b43d39ea8e3da444861d317ced4e
2021-03-10 18:46:29 +01:00
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
Harald Welte 90566d6053 debian-buster-build: actually switch to buster
Change-Id: I35968431515e160b1ce6d766220a413a503f1a3a
2020-01-09 22:11:06 +00:00
Harald Welte 9fa9b24325 start debian-buster-build as copy of debian-jessie-build
Change-Id: I8eb6697ba736b933120bff5950b68294b4b4f842
2020-01-09 22:11:06 +00:00