Commit Graph

6 Commits

Author SHA1 Message Date
Vadim Yanitskiy 7a41031b5f debian-bullseye-*: apt-key is deprecated, use [signed-by] instead
The following warning message appears when running apt-key:

  apt-key is deprecated. Manage keyring files in trusted.gpg.d instead

The apt-key man page mentions that the "use of apt-key is deprecated,
except for the use of apt-key del in maintainer scripts to remove
existing keys from the main keyring".  What's more, "apt-key will last
be available in Debian 11 and Ubuntu 22.04".

Additionally, while the deprecation message says to "manage keyring
files in trusted.gpg.d instead", the Debian wiki states otherwise.
It's recommended to store the keys in /usr/share/keyrings instead,
and then use the 'signed-by' option to reference them.

ee284d5917

Change-Id: I1cae4f49e72f5e4f9d703cdb8f6d117e18e3567c
2023-02-20 16:39:07 +07:00
Vadim Yanitskiy 9b6cc6ac70 open5gs-latest: migrate from debian:buster to debian:bullseye
Change-Id: Ia09aa712a916686f7220da9a5d2f4a02a8b7b8db
2022-11-15 22:41:23 +07:00
Oliver Smith c6094726ae */Dockerfile: drop MAINTAINER line
MAINTAINER is deprecated, drop the line in all Dockerfiles as suggested
by Vadim.

Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: If1ef3032af2075d792c526ae744ec4c0c091da3a
2022-05-13 18:17:06 +02:00
Vadim Yanitskiy 52d594e1a4 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
2022-04-13 23:55:24 +03:00
Vadim Yanitskiy 487ed0e148 open5gs-latest: fix Dockerfile: remove custom mirror list
I was experiencing problems with Debian's mirrors while working on
this image, so I had to use a custom mirror list.  This is a left-
over that should have been removed before merging.

Change-Id: I313bb604b09293bff8753edeefa7f78cafc9cc22
Related: SYS#5602
2021-12-02 23:33:25 +03:00
Vadim Yanitskiy baade9eef3 open5gs-latest: new Dockerfile for latest open5gs from packages
Change-Id: I06b90b84d22ba8d34bed9f84861ff94bdcabe6c3
Related: SYS#5602
2021-11-23 12:20:05 +03:00