introduce 'REGISTRY' argument to all Dockerfiles

This is initialized to docker.io, keeping the default behaviour
if not specified.  However, it allows us to specify a private
registry later on.

Related: OS#4839
Change-Id: I32d4ee6256033c809108c1b86cb6b6c58d880f49
changes/19/21019/2
Harald Welte 2 years ago
parent a90660bef8
commit 027826fdba
  1. 3
      alpine-build/Dockerfile
  2. 3
      centos-repo-install-test/Dockerfile
  3. 3
      centos8-build/Dockerfile
  4. 3
      debian-buster-build/Dockerfile
  5. 3
      debian-buster-erlang/Dockerfile
  6. 3
      debian-jessie-build/Dockerfile
  7. 3
      debian-jessie-osmocom/Dockerfile
  8. 3
      debian-repo-install-test/Dockerfile
  9. 3
      debian-sid-build/Dockerfile
  10. 3
      debian-stretch-build/Dockerfile
  11. 5
      debian-stretch-jenkins/Dockerfile
  12. 3
      debian-stretch-titan/Dockerfile
  13. 3
      gr-gsm-master/Dockerfile
  14. 1
      make/Makefile
  15. 3
      open5gs-master/Dockerfile
  16. 3
      osmo-bsc-latest/Dockerfile
  17. 3
      osmo-bts-latest/Dockerfile
  18. 3
      osmo-cn-latest/Dockerfile
  19. 3
      osmo-ggsn-latest/Dockerfile
  20. 3
      osmo-hlr-latest/Dockerfile
  21. 3
      osmo-hnbgw-latest/Dockerfile
  22. 3
      osmo-mgw-latest/Dockerfile
  23. 3
      osmo-msc-latest/Dockerfile
  24. 3
      osmo-nitb-latest/Dockerfile
  25. 3
      osmo-pcu-latest/Dockerfile
  26. 3
      osmo-remsim-latest/Dockerfile
  27. 3
      osmo-sgsn-latest/Dockerfile
  28. 3
      osmo-sip-latest/Dockerfile
  29. 3
      osmo-stp-latest/Dockerfile
  30. 3
      ubuntu-zesty-build/Dockerfile

@ -1,4 +1,5 @@
FROM alpine:3.6
ARG REGISTRY=docker.io
FROM ${REGISTRY}/alpine:3.6
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,5 +1,6 @@
ARG USER
FROM centos:centos8
ARG REGISTRY=docker.io
FROM ${REGISTRY}/centos:centos8
# dnf-utils: for repoquery
RUN dnf install -y \

@ -1,4 +1,5 @@
FROM centos:centos8
ARG REGISTRY=docker.io
FROM ${REGISTRY}/centos:centos8
# Let package metadata expire after 60 seconds instead of 48 hours
RUN echo "metadata_expire=60" >> /etc/dnf/dnf.conf && cat /etc/dnf/dnf.conf

@ -1,4 +1,5 @@
FROM debian:buster
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:buster
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:buster
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:buster
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:jessie
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:jessie
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:jessie
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:jessie
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,5 +1,6 @@
ARG USER
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
COPY Release.key /tmp/Release.key

@ -1,4 +1,5 @@
FROM debian:sid
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:sid
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,8 +1,9 @@
# Image used to run contrib/jenkins.sh scripts of most Osmocom projects.
# See master-builds.yml, gerrit-verifications.yml in osmo-ci.git.
ARG DEBIAN_VERSION=stretch
FROM debian:${DEBIAN_VERSION}
ARG DEBIAN_VERSION=stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:${DEBIAN_VERSION}
# Make "$DEBIAN_VERSION" available after FROM
# https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM archlinux/base
ARG REGISTRY=docker.io
FROM ${REGISTRY}/archlinux/base
MAINTAINER Vadim Yanitskiy <axilirator@gmail.com>

@ -59,6 +59,7 @@ post-push:
docker-build: .release
docker build \
--build-arg USER=$(USERNAME) \
--build-arg REGISTRY=$(REGISTRY_HOST) \
--build-arg OSMO_TTCN3_BRANCH=$(OSMO_TTCN3_BRANCH) \
--build-arg DISTRO=$(DISTRO) \
--build-arg LIBOSMOCORE_BRANCH=$(LIBOSMOCORE_BRANCH) \

@ -1,4 +1,5 @@
FROM debian:buster
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:buster
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Daniel Willmann <dwillmann@sysmocom.de>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM debian:stretch
ARG REGISTRY=docker.io
FROM ${REGISTRY}/debian:stretch
MAINTAINER Harald Welte <laforge@gnumonks.org>

@ -1,4 +1,5 @@
FROM ubuntu:zesty
ARG REGISTRY=docker.io
FROM ${REGISTRY}/ubuntu:zesty
MAINTAINER Harald Welte <laforge@gnumonks.org>

Loading…
Cancel
Save