osmith submitted this change.
testenv: podman: remove mongodb-org.list
Remove mongodb-org.list at the end of building the podman image, as we
only need to install mongodb once in the container but won't use the
repository afterwards. This avoids checking the mongodb repository in
"apt update".
Change-Id: I5a0455a4dbf8a31366bff65fd011fd5494b64ea7
---
M _testenv/data/podman/Dockerfile
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/_testenv/data/podman/Dockerfile b/_testenv/data/podman/Dockerfile
index 42b0635..013c03d 100644
--- a/_testenv/data/podman/Dockerfile
+++ b/_testenv/data/podman/Dockerfile
@@ -121,4 +121,5 @@
apt-get install -y mongodb-org && \
apt-get clean && \
cd / && \
- rm -rf /tmp/mongodb
+ rm -rf /tmp/mongodb && \
+ rm /etc/apt/sources.list.d/mongodb-org.list
To view, visit change 38337. To unsubscribe, or for help writing mail filters, visit settings.