osmith submitted this change.
debian-{bookworm,trixie}-build: don't clone osmo-gsm-manuals
It is better to keep a copy of osmo-gsm-manuals.git outside of the
docker image and mount it into it, instead of keeping it inside the
image and updating it only by rebuilding the entire image.
Since recently this is done in the master-builds and
gerrit-verifications jobs, and it should be done by other jobs as well
if we have any where this is missing.
Adjust the dockerfiles to not clone this repository inside the image
anymore.
Related: https://gitea.osmocom.org/osmocom/osmo-ci/src/commit/4ecce82d9a9a69251b30800dee137a9f71faf0ff/jobs/master-builds.yml#L48
Related: https://gitea.osmocom.org/osmocom/osmo-ci/src/commit/4ecce82d9a9a69251b30800dee137a9f71faf0ff/jobs/gerrit-verifications.yml#L71
Change-Id: I321067c1bdd14855ff1b5a5fdb35ea1a764819c3
---
M debian-bookworm-build/Dockerfile
M debian-trixie-build/Dockerfile
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/debian-bookworm-build/Dockerfile b/debian-bookworm-build/Dockerfile
index 7ba0572..9f78e43 100644
--- a/debian-bookworm-build/Dockerfile
+++ b/debian-bookworm-build/Dockerfile
@@ -207,10 +207,6 @@
su build -c "cd osmo-ci/scripts && cp -v *.sh *.py /usr/local/bin" && \
rm -rf osmo-ci
-# Install osmo-gsm-manuals to /opt/osmo-gsm-manuals
-ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-gsm-manuals/+/master?format=TEXT /tmp/osmo-gsm-manuals-commit
-RUN git -C /opt clone --depth=1 https://gerrit.osmocom.org/osmo-gsm-manuals
-
# Install packages from Osmocom OBS nightly repository
# * osmo-remsim: libulfius
# * osmo-trx: liblimesuite-dev, libuhd-dev
diff --git a/debian-trixie-build/Dockerfile b/debian-trixie-build/Dockerfile
index a562d31..9b54d90 100644
--- a/debian-trixie-build/Dockerfile
+++ b/debian-trixie-build/Dockerfile
@@ -204,10 +204,6 @@
su build -c "cd osmo-ci/scripts && cp -v *.sh *.py /usr/local/bin" && \
rm -rf osmo-ci
-# Install osmo-gsm-manuals to /opt/osmo-gsm-manuals
-ADD https://gerrit.osmocom.org/plugins/gitiles/osmo-gsm-manuals/+/master?format=TEXT /tmp/osmo-gsm-manuals-commit
-RUN git -C /opt clone --depth=1 https://gerrit.osmocom.org/osmo-gsm-manuals
-
# Install the Osmocom OBS misc repository
ADD $OSMOCOM_REPO_MISC/Release /tmp/Release
RUN set -x && \
To view, visit change 44059. To unsubscribe, or for help writing mail filters, visit settings.