Commit Graph

6 Commits

Author SHA1 Message Date
Oliver Smith 3342c16ca7 debian-bookworm-build: add libbladerf-dev
Related: OS#6409
Change-Id: I3c3fe95d8ebb21f7691a491144885c7deb8049a5
2024-03-18 12:39:37 +01:00
Oliver Smith 2e45b75e9d debian-bookworm-build: add curl
Add curl, as required by the coverity job to submit the API request.

Change-Id: I70eb2b94d0eda4b371d674e1087b4dc13397dcdf
2023-08-28 13:15:55 +02:00
Oliver Smith 832b09e718 debian-bookworm-build: add libnftables-dev
Add libnftables-dev, which is needed for osmo-upf. This is required to
move the coverity jenkins job to use this docker container.

Order the list alphabetically again while at it.

Change-Id: I25862a7e3c8a73e13fd4a9237ab57500d8dfc95c
2023-08-25 13:00:36 +02:00
Oliver Smith 3383a77448 debian-bookworm-build: inkscape -> librsvg2-bin
Merge at the same time as the osmo-gsm-manuals patch.

Depends: osmo-gsm-manuals I0d132f8f6fd73fbe14b5bfa10a8659acaddf38f7
Change-Id: I012c61eb777e6dc267dd4a52500da98c01ac1438
2023-08-17 13:04:18 +02:00
Oliver Smith 4e2f22d69a debian-bookworm-build{,-arm}: fix temp dir removal
Change-Id: I6a0e0869986550ddfa710dfc15d7e78d8974dbc5
2023-08-02 15:46:48 +02:00
Oliver Smith 5586b016f3 debian-bookworm-build(-arm): new docker containers
Create debian bookworm (12) based containers for building all Osmocom
projects in master/gerrit/ttcn3 jenkins jobs.

This is a combination of debian-bullseye-build (ttcn3) and
debian-bullseye-jenkins(-arm) (master/gerrit), which were used for this
purpose but had several differences. Combining them solves the
following problems:
 * The naming was confusing, as both the -jenkins and -build containers
   were used in jenkins and were used to build the Osmocom stack.
 * This lead to adding the dependencies to the wrong containers / not
   adding them to both containers.
 * Now we are sure that if a program builds from source in the master
   and gerrit verifications, it will also build in the ttcn3 jobs.

Other notable changes from the debian 11 containers:
 * Python2 is finally gone (OS#5950, for the few projects that still
   need it like openbsc, I'll use debian 11 for the jenkins jobs)
 * Removed osc and git-buildpackage, now that OBS package building is
   done in different docker containers (see osmo-ci/scripts/obs)
 * Combined multiple RUN commands into one as they the image build
   down, used set -x to display what commands run exactly
 * Use UID variable instead of hardcoding 1000
 * Optimized order of commands, so e.g. the LLVM for Arm that we will
   rarely change gets installed/cached before the big list of apt pkgs
 * Replaced old git.osmocom.org urls
 * Removed apt-get upgrade; the base image will get upgraded from time
   to time, no need to upgrade within the image
 * Add --depth=1 option to git clones and remove temporary git clones
 * Removed generating locales code, it was only done by one of the two
   images and I couldn't find in the git log why we would need this (if
   we do need it we can add it back later)

The following patches add more debian bookworm containers and have
similar improvements.

Related: OS#6057
Change-Id: I49aaf62b5b97775f923453611df3b91354a640a0
2023-07-17 06:33:13 +00:00