osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38337?usp=email )
Change subject: testenv: podman: remove mongodb-org.list ......................................................................
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(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved
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