forked from alt/image-forge
add labels to dockerfiles
This commit is contained in:
parent
fcffc17ea0
commit
1aa473607c
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="apache2"
|
||||
LABEL org.opencontainers.image.description="The most widely used Web server on the Internet"
|
||||
LABEL org.opencontainers.image.source="http://httpd.apache.org"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("apache2") }}
|
||||
|
||||
EXPOSE 80
|
||||
|
@ -2,9 +2,13 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="buildpack-deps-curl"
|
||||
LABEL org.opencontainers.image.licenses="GPLv2"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages(
|
||||
"ca-certificates",
|
||||
"curl",
|
||||
"gnupg",
|
||||
"wget"
|
||||
) }}
|
||||
) }}
|
||||
|
@ -2,6 +2,9 @@ FROM {{ registry }}{{ organization }}/buildpack-deps-curl:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="buildpack-deps-scm"
|
||||
LABEL org.opencontainers.image.licenses="GPLv2"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages(
|
||||
"git",
|
||||
|
@ -2,6 +2,10 @@ FROM {{ registry }}{{ organization }}/buildpack-deps-scm:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="buildpack-deps"
|
||||
LABEL org.opencontainers.image.licenses="GPLv2"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages(
|
||||
"ImageMagick",
|
||||
"autoconf",
|
||||
|
@ -2,6 +2,11 @@ FROM {{ registry }}{{ organization }}/base:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="devel"
|
||||
LABEL org.opencontainers.image.description="This image is only for devel or testing purposes"
|
||||
LABEL org.opencontainers.image.licenses="GPLv2"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
# install editor
|
||||
{{ install_pakages("vim-console") }}
|
||||
|
||||
|
@ -2,6 +2,11 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="distroless-builder"
|
||||
LABEL org.opencontainers.image.description="This images is using to build tarball for distroless images"
|
||||
LABEL org.opencontainers.image.licenses="GPLv2"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
RUN echo %_excludedocs 1 >> /etc/rpm/macros
|
||||
RUN rpm -qalds | awk '/^normal/{print $2}' | xargs rm -rf
|
||||
{{ install_pakages("python3", "glibc-utils", "apt-repo") }}
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
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"
|
||||
|
||||
{{ install_pakages("etcd") }}
|
||||
|
||||
VOLUME /data
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="gitea"
|
||||
LABEL org.opencontainers.image.description="Git with a cup of tea, painless self-hosted git service"
|
||||
LABEL org.opencontainers.image.source="https://github.com/go-gitea/gitea"
|
||||
LABEL org.opencontainers.image.licenses="MIT"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("gitea", "openssh-server", "gosu") }}
|
||||
|
||||
ENV USER gitea
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="nginx"
|
||||
LABEL org.opencontainers.image.description="Fast HTTP server, extremely useful as an Apache frontend"
|
||||
LABEL org.opencontainers.image.source="https://nginx.org/"
|
||||
LABEL org.opencontainers.image.licenses="BSD"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("nginx", "apache2-html", "tzdata") }}
|
||||
|
||||
RUN cd /etc/nginx/sites-enabled.d && ln -s ../sites-available.d/default.conf .
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ organization }}/buildpack-deps:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="node"
|
||||
LABEL org.opencontainers.image.description="Evented I/O for V8 Javascript"
|
||||
LABEL org.opencontainers.image.source="https://github.com/nodejs/node"
|
||||
LABEL org.opencontainers.image.licenses="MIT"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
RUN groupadd --gid 1000 node \
|
||||
&& useradd --uid 1000 --gid node --shell /bin/bash --create-home node
|
||||
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="prometheus"
|
||||
LABEL org.opencontainers.image.description="Prometheus monitoring system and time series database"
|
||||
LABEL org.opencontainers.image.source="https://github.com/prometheus/prometheus"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("prometheus") }}
|
||||
|
||||
WORKDIR /var/lib/prometheus
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ organization }}/base:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="python"
|
||||
LABEL org.opencontainers.image.description="Python 3 and tools needed for development"
|
||||
LABEL org.opencontainers.image.source="https://github.com/python/cpython"
|
||||
LABEL org.opencontainers.image.licenses="Python"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages(
|
||||
"python3-module-pip",
|
||||
"python3-module-setuptools",
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="registry"
|
||||
LABEL org.opencontainers.image.description="The Docker toolset to pack, ship, store, and deliver content"
|
||||
LABEL org.opencontainers.image.source="https://github.com/docker/distribution"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("docker-registry") }}
|
||||
|
||||
RUN ln -sf /usr/bin/docker-registry /bin/registry
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="ruby"
|
||||
LABEL org.opencontainers.image.description="Interactive Ruby Shell"
|
||||
LABEL org.opencontainers.image.source="https://github.com/ruby/ruby"
|
||||
LABEL org.opencontainers.image.licenses="BSD-2-Clause or Ruby"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("irb") }}
|
||||
|
||||
CMD ["irb"]
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ organization }}/base:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="systemd"
|
||||
LABEL org.opencontainers.image.description="Systemd System V init tools"
|
||||
LABEL org.opencontainers.image.source="https://github.com/systemd/systemd"
|
||||
LABEL org.opencontainers.image.licenses="LGPLv2.1+"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
ENV container docker
|
||||
|
||||
{{ install_pakages("systemd-sysvinit") }}
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="unit"
|
||||
LABEL org.opencontainers.image.description="NGINX Unit is a lightweight and versatile web-server"
|
||||
LABEL org.opencontainers.image.source="https://github.com/nginx/unit"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y unit curl tzdata; \
|
||||
rm -f /var/cache/apt/archives/*.rpm \
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="cert-manager-cainjector"
|
||||
LABEL org.opencontainers.image.description="Cainjector component for automatic provisioning and managing TLS certificates in Kubernetes"
|
||||
LABEL org.opencontainers.image.source="https://github.com/cert-manager/cert-manager"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("cert-manager") }}
|
||||
|
||||
RUN groupadd -r -g 1000 cert-manger && useradd --no-log-init -r -u 1000 -g cert-manger cert-manger
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="cert-manager-controller"
|
||||
LABEL org.opencontainers.image.description="Controller component for automatic provisioning and managing TLS certificates in Kubernetes"
|
||||
LABEL org.opencontainers.image.source="https://github.com/cert-manager/cert-manager"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("cert-manager") }}
|
||||
|
||||
RUN groupadd -r -g 1000 cert-manger && useradd --no-log-init -r -u 1000 -g cert-manger cert-manger
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="cert-manager-webhook"
|
||||
LABEL org.opencontainers.image.description="Webhook component for automatic provisioning and managing TLS certificates in Kubernetes"
|
||||
LABEL org.opencontainers.image.source="https://github.com/cert-manager/cert-manager"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("cert-manager") }}
|
||||
|
||||
RUN groupadd -r -g 1000 cert-manger && useradd --no-log-init -r -u 1000 -g cert-manger cert-manger
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="coredns"
|
||||
LABEL org.opencontainers.image.description="CoreDNS is a DNS server that chains plugins"
|
||||
LABEL org.opencontainers.image.source="https://github.com/coredns/coredns"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("coredns") }}
|
||||
|
||||
ENTRYPOINT ["/usr/bin/coredns"]
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
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"
|
||||
|
||||
{{ install_pakages("etcd") }}
|
||||
|
||||
VOLUME /data
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="flannel-cni-plugin"
|
||||
LABEL org.opencontainers.image.description="CNI network plugin that is powered by flannel"
|
||||
LABEL org.opencontainers.image.source="https://github.com/flannel-io/cni-plugin"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages("cni-plugin-flannel") }}
|
||||
|
||||
RUN cp /usr/libexec/cni/flannel /flannel
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="flannel"
|
||||
LABEL org.opencontainers.image.description="Network fabric for containers"
|
||||
LABEL org.opencontainers.image.source="https://github.com/flannel-io/flannel"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages(
|
||||
"iproute2",
|
||||
"net-tools",
|
||||
|
@ -2,6 +2,12 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
||||
|
||||
MAINTAINER alt-cloud
|
||||
|
||||
LABEL org.opencontainers.image.title="trivy-node-collector"
|
||||
LABEL org.opencontainers.image.description="Open source collector who collect Node information (fs and process data) and output in a table/json format"
|
||||
LABEL org.opencontainers.image.source="https://github.com/aquasecurity/k8s-node-collector"
|
||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||
LABEL org.opencontainers.image.vendor="ALT Linux Team"
|
||||
|
||||
{{ install_pakages(
|
||||
"k8s-trivy-node-collector"
|
||||
) }}
|
||||
|
Loading…
Reference in New Issue
Block a user