From 4c72028e5726c8e4f55f823b789b0f0051f24914 Mon Sep 17 00:00:00 2001 From: openeuler_bot Date: Wed, 1 Oct 2025 00:04:48 +0000 Subject: [PATCH] 24.03-lts-sp2 update consul to 1.22.0-rc1 --- .../1.22.0-rc1/24.03-lts-sp2/Dockerfile | 19 +++++++++++++++++++ Bigdata/consul/README.md | 1 + Bigdata/consul/doc/image-info.yml | 1 + Bigdata/consul/meta.yml | 4 +++- 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 Bigdata/consul/1.22.0-rc1/24.03-lts-sp2/Dockerfile diff --git a/Bigdata/consul/1.22.0-rc1/24.03-lts-sp2/Dockerfile b/Bigdata/consul/1.22.0-rc1/24.03-lts-sp2/Dockerfile new file mode 100644 index 00000000..20569f73 --- /dev/null +++ b/Bigdata/consul/1.22.0-rc1/24.03-lts-sp2/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} + +ARG VERSION=1.22.0-rc1 + +RUN yum install -y golang && \ + yum clean all + +RUN curl -fSL -o consul.tar.gz https://github.com/hashicorp/consul/archive/refs/tags/v${VERSION}.tar.gz && \ + tar -zxvf consul.tar.gz && \ + cd consul-${VERSION} && \ + go build && \ + cp consul /usr/bin/ && \ + cd .. && \ + rm -rf consul-${VERSION} consul.tar.gz + +WORKDIR /usr/bin +EXPOSE 8500 8600 +ENTRYPOINT ["consul"] diff --git a/Bigdata/consul/README.md b/Bigdata/consul/README.md index b79ea609..e0d4396b 100644 --- a/Bigdata/consul/README.md +++ b/Bigdata/consul/README.md @@ -16,6 +16,7 @@ Learn more on [consul website](https://www.consul.io/). The tag of each consul docker image is consist of the version of consul and the version of basic image. The details are as follows | Tags | Currently | Architectures| |--|--|--| +|[1.22.0-rc1-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Bigdata/consul/1.22.0-rc1/24.03-lts-sp2/Dockerfile) | consul 1.22.0-rc1 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[1.20.5-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Bigdata/consul/1.20.5/24.03-lts-sp1/Dockerfile)| Consul 1.20.5 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Bigdata/consul/doc/image-info.yml b/Bigdata/consul/doc/image-info.yml index 0fcd5a07..4645de2d 100644 --- a/Bigdata/consul/doc/image-info.yml +++ b/Bigdata/consul/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tags | Currently | Architectures| |------|-----------|---------------| + |[1.22.0-rc1-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Bigdata/consul/1.22.0-rc1/24.03-lts-sp2/Dockerfile) | consul 1.22.0-rc1 on openEuler 24.03-LTS-SP2 | amd64, arm64 | |[1.20.5-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Bigdata/consul/1.20.5/24.03-lts-sp1/Dockerfile)| Consul 1.20.5 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Bigdata/consul/meta.yml b/Bigdata/consul/meta.yml index 06062483..17400f6c 100644 --- a/Bigdata/consul/meta.yml +++ b/Bigdata/consul/meta.yml @@ -1,4 +1,6 @@ 1.20.5-oe2403sp1: path: 1.20.5/24.03-lts-sp1/Dockerfile 1.21.4-oe2403sp1: - path: 1.21.4/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 1.21.4/24.03-lts-sp1/Dockerfile +1.22.0-rc1-oe2403sp2: + path: 1.22.0-rc1/24.03-lts-sp2/Dockerfile \ No newline at end of file -- Gitee