Commit Graph

6 Commits

Author SHA1 Message Date
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
Oliver Smith a0a991f412 make/Makefile: always use docker run --rm
Add --rm to the "docker run" line in make/Makefile, and remove it from
RUN_ARGS.

Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up
Related: SYS#5827
Change-Id: Iea063aa39a08397ea64d2018b433991a130e7f56
2022-02-14 07:46:23 +00:00
Vadim Yanitskiy 44393058f6 make/Makefile: allow overriding '-it' for target 'run'
Allocating a pseudo-TTY (-t, --tty) fails when 'run' is executed
inside of a Jenkins or cron script.  This change fixes
ttcn3-bts-test, which invokes 'run' to fetch the config files.

Change-Id: If22f682be4f004c5bb43e65098079a4f4fe6158d
Fixes: If15461240f3037c142c176fc7da745a1701ae3f8
2022-02-11 15:21:16 +06: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