diff --git a/prometheus-pushgateway/1.10.0/20.03-lts-sp4/Dockerfile b/prometheus-pushgateway/1.10.0/20.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..c65f742362dea9b1ddd2b55269edd474c3622f65 --- /dev/null +++ b/prometheus-pushgateway/1.10.0/20.03-lts-sp4/Dockerfile @@ -0,0 +1,20 @@ +ARG BASE=openeuler/openeuler:20.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=1.10.0 + +RUN yum update -y && yum install -y wget && yum clean all && \ + wget -O pushgateway.tar.gz https://github.com/prometheus/pushgateway/releases/download/v${VERSION}/pushgateway-${VERSION}.linux-${TARGETARCH}.tar.gz && \ + mkdir /pushgateway && tar -zxvf pushgateway.tar.gz -C /pushgateway --strip-components 1 && \ + mv /pushgateway/pushgateway /bin/pushgateway && \ + rm -rf pushgateway.tar.gz /pushgateway/ + +RUN mkdir -p /pushgateway && \ + groupadd -r pushgateway && useradd -r -g pushgateway pushgateway && \ + chown pushgateway:pushgateway /pushgateway /bin/pushgateway + +WORKDIR /pushgateway +USER pushgateway +EXPOSE 9091 +ENTRYPOINT [ "/bin/pushgateway" ] diff --git a/prometheus-pushgateway/1.10.0/22.03-lts-sp1/Dockerfile b/prometheus-pushgateway/1.10.0/22.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..c2a18fc9c1226809f4e717c4cd4a57784fabc35e --- /dev/null +++ b/prometheus-pushgateway/1.10.0/22.03-lts-sp1/Dockerfile @@ -0,0 +1,20 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=1.10.0 + +RUN yum update -y && yum install -y wget && yum clean all && \ + wget -O pushgateway.tar.gz https://github.com/prometheus/pushgateway/releases/download/v${VERSION}/pushgateway-${VERSION}.linux-${TARGETARCH}.tar.gz && \ + mkdir /pushgateway && tar -zxvf pushgateway.tar.gz -C /pushgateway --strip-components 1 && \ + mv /pushgateway/pushgateway /bin/pushgateway && \ + rm -rf pushgateway.tar.gz /pushgateway/ + +RUN mkdir -p /pushgateway && \ + groupadd -r pushgateway && useradd -r -g pushgateway pushgateway && \ + chown pushgateway:pushgateway /pushgateway /bin/pushgateway + +WORKDIR /pushgateway +USER pushgateway +EXPOSE 9091 +ENTRYPOINT [ "/bin/pushgateway" ] diff --git a/prometheus-pushgateway/1.10.0/22.03-lts-sp4/Dockerfile b/prometheus-pushgateway/1.10.0/22.03-lts-sp4/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..ca048c982b7c7f1a526ab90b260f70d95a8bb27e --- /dev/null +++ b/prometheus-pushgateway/1.10.0/22.03-lts-sp4/Dockerfile @@ -0,0 +1,20 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=1.10.0 + +RUN yum update -y && yum install -y wget && yum clean all && \ + wget -O pushgateway.tar.gz https://github.com/prometheus/pushgateway/releases/download/v${VERSION}/pushgateway-${VERSION}.linux-${TARGETARCH}.tar.gz && \ + mkdir /pushgateway && tar -zxvf pushgateway.tar.gz -C /pushgateway --strip-components 1 && \ + mv /pushgateway/pushgateway /bin/pushgateway && \ + rm -rf pushgateway.tar.gz /pushgateway/ + +RUN mkdir -p /pushgateway && \ + groupadd -r pushgateway && useradd -r -g pushgateway pushgateway && \ + chown pushgateway:pushgateway /pushgateway /bin/pushgateway + +WORKDIR /pushgateway +USER pushgateway +EXPOSE 9091 +ENTRYPOINT [ "/bin/pushgateway" ] diff --git a/prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile b/prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..732ca400bbab4d5c17aa24242d57cd4c55fa2518 --- /dev/null +++ b/prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile @@ -0,0 +1,20 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=1.10.0 + +RUN yum update -y && yum install -y wget shadow-utils && yum clean all && \ + wget -O pushgateway.tar.gz https://github.com/prometheus/pushgateway/releases/download/v${VERSION}/pushgateway-${VERSION}.linux-${TARGETARCH}.tar.gz && \ + mkdir /pushgateway && tar -zxvf pushgateway.tar.gz -C /pushgateway --strip-components 1 && \ + mv /pushgateway/pushgateway /bin/pushgateway && \ + rm -rf pushgateway.tar.gz /pushgateway/ + +RUN mkdir -p /pushgateway && \ + groupadd -r pushgateway && useradd -r -g pushgateway pushgateway && \ + chown pushgateway:pushgateway /pushgateway /bin/pushgateway + +WORKDIR /pushgateway +USER pushgateway +EXPOSE 9091 +ENTRYPOINT [ "/bin/pushgateway" ] diff --git a/prometheus-pushgateway/meta.yml b/prometheus-pushgateway/meta.yml index 2602298d0c8d135dd6d15b29d993704ab4eb7872..dcf025fd14163f88e65db0f49c23daa7d9015c18 100644 --- a/prometheus-pushgateway/meta.yml +++ b/prometheus-pushgateway/meta.yml @@ -1,4 +1,12 @@ 1.7.0-oe2203sp3: path: prometheus-pushgateway/1.7.0/22.03-lts-sp3/Dockerfile 1.10.0-oe2203sp3: - path: prometheus-pushgateway/1.10.0/22.03-lts-sp3/Dockerfile \ No newline at end of file + path: prometheus-pushgateway/1.10.0/22.03-lts-sp3/Dockerfile +1.10.0-oe2403lts: + path: prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile +1.10.0-oe2203sp4: + path: prometheus-pushgateway/1.10.0/22.03-lts-sp4/Dockerfile +1.10.0-oe2203sp1: + path: prometheus-pushgateway/1.10.0/22.03-lts-sp1/Dockerfile +1.10.0-oe2003sp4: + path: prometheus-pushgateway/1.10.0/20.03-lts-sp4/Dockerfile \ No newline at end of file