From a0e10fbe93b0afd861080322b94fd915a7b5ee78 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 02:19:15 +0000 Subject: [PATCH 1/5] 24.03-lts update prometheus-pushgateway to 1.10.0 --- .../1.10.0/24.03-lts/Dockerfile | 20 +++++++++++++++++++ prometheus-pushgateway/meta.yml | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile 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 00000000..1f887f01 --- /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 && 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 2602298d..07964eb6 100644 --- a/prometheus-pushgateway/meta.yml +++ b/prometheus-pushgateway/meta.yml @@ -1,4 +1,6 @@ 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 \ No newline at end of file -- Gitee From 82d96970ed429a858eeeebbc152b30480beaf920 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 02:19:36 +0000 Subject: [PATCH 2/5] 22.03-lts-sp4 update prometheus-pushgateway to 1.10.0 --- .../1.10.0/22.03-lts-sp4/Dockerfile | 20 +++++++++++++++++++ prometheus-pushgateway/meta.yml | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 prometheus-pushgateway/1.10.0/22.03-lts-sp4/Dockerfile 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 00000000..ca048c98 --- /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/meta.yml b/prometheus-pushgateway/meta.yml index 07964eb6..8ae3e077 100644 --- a/prometheus-pushgateway/meta.yml +++ b/prometheus-pushgateway/meta.yml @@ -3,4 +3,6 @@ 1.10.0-oe2203sp3: 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 \ No newline at end of file + 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 \ No newline at end of file -- Gitee From d0d5f7b2af7e40bb2e7cc13fc91bacac41365151 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 02:19:59 +0000 Subject: [PATCH 3/5] 22.03-lts-sp1 update prometheus-pushgateway to 1.10.0 --- .../1.10.0/22.03-lts-sp1/Dockerfile | 20 +++++++++++++++++++ prometheus-pushgateway/meta.yml | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 prometheus-pushgateway/1.10.0/22.03-lts-sp1/Dockerfile 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 00000000..c2a18fc9 --- /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/meta.yml b/prometheus-pushgateway/meta.yml index 8ae3e077..8a4bb4c2 100644 --- a/prometheus-pushgateway/meta.yml +++ b/prometheus-pushgateway/meta.yml @@ -5,4 +5,6 @@ 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 \ No newline at end of file + 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 \ No newline at end of file -- Gitee From 222080cefea1910bad90153b1d5991b8e61b9031 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 15 Oct 2024 02:20:22 +0000 Subject: [PATCH 4/5] 20.03-lts-sp4 update prometheus-pushgateway to 1.10.0 --- .../1.10.0/20.03-lts-sp4/Dockerfile | 20 +++++++++++++++++++ prometheus-pushgateway/meta.yml | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 prometheus-pushgateway/1.10.0/20.03-lts-sp4/Dockerfile 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 00000000..c65f7423 --- /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/meta.yml b/prometheus-pushgateway/meta.yml index 8a4bb4c2..dcf025fd 100644 --- a/prometheus-pushgateway/meta.yml +++ b/prometheus-pushgateway/meta.yml @@ -7,4 +7,6 @@ 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 \ No newline at end of file + 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 -- Gitee From 53f576cedb78229cbb9934af7ccc7e276a2c330d Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Wed, 16 Oct 2024 11:25:08 +0800 Subject: [PATCH 5/5] 24.03-lts update prometheus-pushgateway to 1.10.0 --- prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile b/prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile index 1f887f01..732ca400 100644 --- a/prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile +++ b/prometheus-pushgateway/1.10.0/24.03-lts/Dockerfile @@ -4,7 +4,7 @@ FROM ${BASE} ARG TARGETARCH ARG VERSION=1.10.0 -RUN yum update -y && yum install -y wget && yum clean all && \ +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 && \ -- Gitee