Commit Graph

12 Commits

Author SHA1 Message Date
Oliver Smith cf43251869 fpga-build: use debian-bookworm-build
* Remove code that is in debian-bookworm-build already (all packages
  that get installed, creating the build user, installing osmo-ci and
  osmo-gsm-manuals).
* Put toolchain installations in single RUN commands, so the unextracted
  tarballs are not stored in image layers.

Related: OS#6057
Change-Id: Iaaca6367b76a6ec860c63d57c767954f82edfee5
2023-08-17 13:04:26 +02:00
Vadim Yanitskiy ea90e44ab0 */Dockerfile: clone from gerrit.osmocom.org using https://
* Do not clone using deprecated git://, use https:// instead.
* Clone from the main repo gerrit.osmocom.org (if possible).
* Use the gitiles plugin to fetch the last commit from Gerrit.

Change-Id: I204fa6e3e3ebbdb8732393b897fca35659d61ae8
2023-01-06 23:10:13 +07:00
Oliver Smith c6094726ae */Dockerfile: drop MAINTAINER line
MAINTAINER is deprecated, drop the line in all Dockerfiles as suggested
by Vadim.

Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: If1ef3032af2075d792c526ae744ec4c0c091da3a
2022-05-13 18:17:06 +02:00
Oliver Smith ee7107f8ee fpga-build: don't write path to /etc/environment
PATH isn't overwritten anymore when jenkins runs docker in osmo-ci.git's
master-builds.yml / gerrit-verifications.yml, therefore we can remove
this hack.

Change-Id: I5bff98f7af1a2f2de88c8d96d1e30de960057d01
2021-01-13 15:56:17 +01:00
Oliver Smith f92edcc32f debian-stretch-jenkins,fpga-build: add gsm-manuals
Prepare to remove 'build-deps.sh osmo-gsm-manuals' calls from all
projects.

Related: OS#4912
Change-Id: Id402e0ea372b5ca8a6c8f6f5beb190544c888207
2021-01-13 15:55:52 +01:00
Oliver Smith b68cfd7fa9 fpga-build: add osmo-ci
Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin.

Related: OS#4911
Change-Id: I3625d6f10e566101fb25963757da6827670ca41b
2021-01-13 15:54:23 +01:00
Harald Welte 10c2ba7ea4 fpga-build: install missing toosls required for 'publish' and manuals
Change-Id: I7b416117e80133fcf4c07ee540d15783f4576fbd
2020-12-17 17:14:25 +01:00
Harald Welte 43ec5b7eab fpga-build: Make sure PATH is also set for non-root users
Change-Id: I16bf9c8cafbad85a6ec77f17b034c73f530565b9
2020-12-17 16:31:37 +01:00
Harald Welte bd4e9c2d9d fpga-build: Create 'build' user like in 'debian-stretch-jenkins'
Change-Id: Id99167568751b19f3454831e69eacdbadaf8aee4
2020-12-17 15:37:15 +01:00
Harald Welte 7500aebce7 fpga-build: Add packages required for rendering manuals
Change-Id: Ic9bec0689b3571db9cafa8a1671aa3bc68c3f4e5
2020-12-17 15:37:15 +01:00
Harald Welte e05b032db9 fpga-build: Make riscv + fpga toolchain version configurable
Change-Id: I8969e383975c673c29169ff5b60229c4a75a499c
2020-12-16 10:54:37 +01:00
Harald Welte f28aa95173 New fpga-build image for building iCE40 gateware + RISC-V firmware
this will be needed for building e1-tracer + icE1usb gateware+firmware
on our jenkins slaves.

Change-Id: I7c2072b9524a2038d71c0fac4f2023b92af26382
2020-09-14 22:38:40 +02:00