Commit Graph

6 Commits

Author SHA1 Message Date
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