diff --git a/Bigdata/consul/1.22.0/24.03-lts-sp2/Dockerfile b/Bigdata/consul/1.22.0/24.03-lts-sp2/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f7ef4e339ab94daf7c23537c54d6cba0c6f4a45c --- /dev/null +++ b/Bigdata/consul/1.22.0/24.03-lts-sp2/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp2 +FROM ${BASE} + +ARG VERSION=1.22.0 + +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 b79ea609e37faa4998d4f5b3f9fc6e70376f1154..d6847b584913c352294a935b41be57a19842170c 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-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Bigdata/consul/1.22.0/24.03-lts-sp2/Dockerfile) | consul 1.22.0 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 0fcd5a0737e531e068d5fc927edf7dec26d471bc..c1638683a9f606aa7985feef09cf7e2b887d6c83 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-oe2403sp2](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Bigdata/consul/1.22.0/24.03-lts-sp2/Dockerfile) | consul 1.22.0 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 06062483e553e69f4b30bd08cc26447cb8efef7e..8adf0294ffc2a98677e1fc094cc6f644fd0b3212 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-oe2403sp2: + path: 1.22.0/24.03-lts-sp2/Dockerfile \ No newline at end of file