build-unit-test-docker: add bogus echo to force update keyserver
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I7fe918532f0af4bfac6cd782b6fd3ff9a4763944
diff --git a/scripts/build-unit-test-docker b/scripts/build-unit-test-docker
index 4313753..ebede4a 100755
--- a/scripts/build-unit-test-docker
+++ b/scripts/build-unit-test-docker
@@ -710,6 +710,13 @@
ENV PYTHONPATH "/usr/local/lib/python3.8/site-packages/"
+# Sometimes the ubuntu key expires and we need a way to force an execution
+# of the apt-get commands for the dbgsym-keyring. When this happens we see
+# an error like: "Release: The following signatures were invalid:"
+# Insert a bogus echo that we can change here when we get this error to force
+# the update.
+RUN echo "ubuntu keyserver rev as of 2021-04-21"
+
# We need the keys to be imported for dbgsym repos
# New releases have a package, older ones fall back to manual fetching
# https://wiki.ubuntu.com/Debug%20Symbol%20Packages