forked from images/gitea-image-forge
Add k8s organization
This commit is contained in:
parent
f077cb2702
commit
0ed27b16b2
15
org/k8s/cert-manager-cainjector/Dockerfile.template
Normal file
15
org/k8s/cert-manager-cainjector/Dockerfile.template
Normal file
@ -0,0 +1,15 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y cert-manager && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
RUN groupadd -r -g 1000 cert-manger && useradd --no-log-init -r -u 1000 -g cert-manger cert-manger
|
||||
|
||||
USER 1000
|
||||
|
||||
ENTRYPOINT ["/usr/bin/cainjector"]
|
15
org/k8s/cert-manager-controller/Dockerfile.template
Normal file
15
org/k8s/cert-manager-controller/Dockerfile.template
Normal file
@ -0,0 +1,15 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y cert-manager && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
RUN groupadd -r -g 1000 cert-manger && useradd --no-log-init -r -u 1000 -g cert-manger cert-manger
|
||||
|
||||
USER 1000
|
||||
|
||||
ENTRYPOINT ["/usr/bin/controller"]
|
15
org/k8s/cert-manager-webhook/Dockerfile.template
Normal file
15
org/k8s/cert-manager-webhook/Dockerfile.template
Normal file
@ -0,0 +1,15 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y cert-manager && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
RUN groupadd -r -g 1000 cert-manger && useradd --no-log-init -r -u 1000 -g cert-manger cert-manger
|
||||
|
||||
USER 1000
|
||||
|
||||
ENTRYPOINT ["/usr/bin/webhook"]
|
11
org/k8s/coredns/Dockerfile.template
Normal file
11
org/k8s/coredns/Dockerfile.template
Normal file
@ -0,0 +1,11 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y coredns && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
ENTRYPOINT ["/usr/bin/coredns"]
|
13
org/k8s/etcd/Dockerfile.template
Normal file
13
org/k8s/etcd/Dockerfile.template
Normal file
@ -0,0 +1,13 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y etcd && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
VOLUME /data
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/etcd", "--data-dir", "/data"]
|
11
org/k8s/kube-apiserver/Dockerfile.template
Normal file
11
org/k8s/kube-apiserver/Dockerfile.template
Normal file
@ -0,0 +1,11 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y kubernetes-master && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
ENTRYPOINT ["/usr/bin/kube-apiserver"]
|
11
org/k8s/kube-controller-manager/Dockerfile.template
Normal file
11
org/k8s/kube-controller-manager/Dockerfile.template
Normal file
@ -0,0 +1,11 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y kubernetes-master && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
ENTRYPOINT ["/usr/bin/kube-controller-manager"]
|
13
org/k8s/kube-proxy/Dockerfile.template
Normal file
13
org/k8s/kube-proxy/Dockerfile.template
Normal file
@ -0,0 +1,13 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y kubernetes-node && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
RUN ln -s /usr/bin/kube-proxy /usr/local/bin/kube-proxy
|
||||
|
||||
ENTRYPOINT ["/usr/bin/kube-proxy"]
|
11
org/k8s/kube-scheduler/Dockerfile.template
Normal file
11
org/k8s/kube-scheduler/Dockerfile.template
Normal file
@ -0,0 +1,11 @@
|
||||
FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y kubernetes-master && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
ENTRYPOINT ["/usr/bin/kube-scheduler"]
|
15
org/k8s/pause/Dockerfile.template
Normal file
15
org/k8s/pause/Dockerfile.template
Normal file
@ -0,0 +1,15 @@
|
||||
FROM alt:sisyphus as installer
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y apt-repo && \
|
||||
sh -c 'yes | apt-repo test 310153' && \
|
||||
apt-get remove -y apt-repo && \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
/var/cache/apt/*.bin \
|
||||
/var/lib/apt/lists/*.*
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=installer /usr/bin/kubernetes-pause /pause
|
||||
|
||||
CMD ["/pause"]
|
Loading…
Reference in New Issue
Block a user