<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='hudson.triggers.SCMTrigger$SCMTriggerCause'><shortDescription>Started by an SCM change</shortDescription></cause></action><action></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><refsremotesoriginosmithwip-dahdi _class='hudson.plugins.git.util.Build'><buildNumber>309</buildNumber><marked><SHA1>7ac0902cd740139b0d1cfdbd90179de7379d2883</SHA1><branch><SHA1>7ac0902cd740139b0d1cfdbd90179de7379d2883</SHA1><name>refs/remotes/origin/osmith/wip-dahdi</name></branch></marked><revision><SHA1>7ac0902cd740139b0d1cfdbd90179de7379d2883</SHA1><branch><SHA1>7ac0902cd740139b0d1cfdbd90179de7379d2883</SHA1><name>refs/remotes/origin/osmith/wip-dahdi</name></branch></revision></refsremotesoriginosmithwip-dahdi><refsremotesoriginmaster _class='hudson.plugins.git.util.Build'><buildNumber>341</buildNumber><marked><SHA1>52d594e1a4d944bf8b287d3b835f1769f5461d89</SHA1><branch><SHA1>52d594e1a4d944bf8b287d3b835f1769f5461d89</SHA1><name>refs/remotes/origin/master</name></branch></marked><revision><SHA1>52d594e1a4d944bf8b287d3b835f1769f5461d89</SHA1><branch><SHA1>52d594e1a4d944bf8b287d3b835f1769f5461d89</SHA1><name>refs/remotes/origin/master</name></branch></revision></refsremotesoriginmaster></buildsByBranchName><lastBuiltRevision><SHA1>52d594e1a4d944bf8b287d3b835f1769f5461d89</SHA1><branch><SHA1>52d594e1a4d944bf8b287d3b835f1769f5461d89</SHA1><name>refs/remotes/origin/master</name></branch></lastBuiltRevision><remoteUrl>git://git.osmocom.org/docker-playground</remoteUrl><scmName></scmName></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#341</displayName><duration>1457</duration><estimatedDuration>255</estimatedDuration><fullDisplayName>update-osmo-ci-on-slaves-dp #341</fullDisplayName><id>341</id><inProgress>false</inProgress><keepLog>false</keepLog><number>341</number><queueId>722010</queueId><result>SUCCESS</result><timestamp>1649955366192</timestamp><url>https://jenkins.osmocom.org/jenkins/view/gerrit/job/update-osmo-ci-on-slaves-dp/341/</url><builtOn>gtp0-deb9build</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>open5gs-latest/Dockerfile</affectedPath><commitId>52d594e1a4d944bf8b287d3b835f1769f5461d89</commitId><timestamp>1649883324000</timestamp><author><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/fixeria</absoluteUrl><fullName>Vadim Yanitskiy</fullName></author><authorEmail>vyanitskiy@sysmocom.de</authorEmail><comment>open5gs-latest: fix Dockerfile: avoid using curl for downloading keys

Since recently, curl fails to download the key from www.mongodb.org:

'''
$ curl --verbose https://www.mongodb.org/static/pgp/server-4.2.asc
GET /static/pgp/server-4.2.asc HTTP/1.1
Host: www.mongodb.org
User-Agent: curl/7.82.0
Accept: */*

Mark bundle as not supporting multiuse
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Date: Wed, 13 Apr 2022 20:50:19 GMT
Location: https://pgp.mongodb.com/server-4.2.asc
Connection: Keep-Alive
Content-Length: 0
'''

By default, curl would not follow redirects unless '-L' is specified.
Let's use Docker's 'ADD' command instead, like many Dockerfiles do.
Also, update the address as suggested in the server's response.

Change-Id: I9757fcce084595341b1a68822bad454b64941eb1
Related: SYS#5602
</comment><date>2022-04-13 23:55:24 +0300</date><id>52d594e1a4d944bf8b287d3b835f1769f5461d89</id><msg>open5gs-latest: fix Dockerfile: avoid using curl for downloading keys</msg><path><editType>edit</editType><file>open5gs-latest/Dockerfile</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://jenkins.osmocom.org/jenkins/user/fixeria</absoluteUrl><fullName>Vadim Yanitskiy</fullName></culprit></freeStyleBuild>