forked from alt/image-forge
Compare commits
1 Commits
test-scrip
...
c10f2-patc
Author | SHA1 | Date | |
---|---|---|---|
af7b730c4b |
4
build.py
4
build.py
@ -409,9 +409,13 @@ class DockerBuilder:
|
||||
else:
|
||||
registry = ""
|
||||
alt_image = "alt"
|
||||
|
||||
base_image_prefix = "c10f" if self.branch == "c10f2" else self.branch
|
||||
|
||||
rendered = JINJA_ENV.from_string(template).render(
|
||||
alt_image=alt_image,
|
||||
branch=self.branch,
|
||||
base_image_prefix=base_image_prefix,
|
||||
install_packages=install_packages,
|
||||
organization=organization,
|
||||
registry=registry,
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
FROM {{ registry }}{{ base_image_prefix }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
@ -6,7 +6,7 @@ LABEL org.opencontainers.image.title="etcd"
|
||||
LABEL org.opencontainers.image.description="Distributed reliable key-value store for the most critical data of a distributed system"
|
||||
LABEL org.opencontainers.image.source="https://github.com/etcd-io/etcd"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
LABEL org.opencontainers.image.vendor="BaseALT LLC"
|
||||
|
||||
ARG PKG_VERSION
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
FROM {{ registry }}{{ base_image_prefix }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
@ -14,4 +14,4 @@ LABEL org.opencontainers.image.title="kube-apiserver"
|
||||
LABEL org.opencontainers.image.description="The Kubernetes API server validates and configures data for the api objects which include pods, services, replicationcontrollers, and others."
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubernetes/kubernetes"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
LABEL org.opencontainers.image.vendor="BaseALT LLC"
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
FROM {{ registry }}{{ base_image_prefix }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
@ -14,4 +14,4 @@ LABEL org.opencontainers.image.title="kube-controller-manager"
|
||||
LABEL org.opencontainers.image.description="The Kubernetes controller manager is a daemon that embeds the core control loops shipped with Kubernetes."
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubernetes/kubernetes"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
LABEL org.opencontainers.image.vendor="BaseALT LLC"
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
FROM {{ registry }}{{ base_image_prefix }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
@ -14,4 +14,4 @@ LABEL org.opencontainers.image.title="kube-proxy"
|
||||
LABEL org.opencontainers.image.description="The Kubernetes network proxy runs on each node."
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubernetes/kubernetes"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
LABEL org.opencontainers.image.vendor="BaseALT LLC"
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
FROM {{ registry }}{{ base_image_prefix }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
@ -14,4 +14,4 @@ LABEL org.opencontainers.image.title="kube-scheduler"
|
||||
LABEL org.opencontainers.image.description="The Kubernetes scheduler is a control plane process which assigns Pods to Nodes."
|
||||
LABEL org.opencontainers.image.source="https://github.com/kubernetes/kubernetes"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
LABEL org.opencontainers.image.vendor="BaseALT LLC"
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
|
||||
FROM {{ registry }}{{ base_image_prefix }}/{{ alt_image }}:latest
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
@ -14,4 +14,4 @@ LABEL org.opencontainers.image.title="kubelet" \
|
||||
org.opencontainers.image.description="An agent that runs on each node in the cluster. It makes sure that containers are running in a Pod." \
|
||||
org.opencontainers.image.source="https://github.com/kubernetes/kubernetes" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.vendor="ALT Linux Team" \
|
||||
org.opencontainers.image.vendor="BaseALT LLC"
|
||||
|
Reference in New Issue
Block a user