From c25d4701277cfa2c21ccf4511c7451597533f9fa Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:39:02 +0000 Subject: [PATCH 1/4] 24.03-lts update cassandra to 5.0.2-tentative --- .../5.0.2-tentative/24.03-lts/Dockerfile | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cassandra/5.0.2-tentative/24.03-lts/Dockerfile diff --git a/cassandra/5.0.2-tentative/24.03-lts/Dockerfile b/cassandra/5.0.2-tentative/24.03-lts/Dockerfile new file mode 100644 index 00000000..bb981aae --- /dev/null +++ b/cassandra/5.0.2-tentative/24.03-lts/Dockerfile @@ -0,0 +1,22 @@ +ARG BASE=openeuler/openeuler:24.03-lts +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=5.0.2-tentative + +RUN yum -y install java && \ + yum clean all + +RUN groupadd --system --gid 1000 cassandra && \ + useradd --system --gid cassandra --uid 1000 cassandra + +RUN curl -o /tmp/cassandra-${VERSION}.tar.gz https://dlcdn.apache.org/cassandra/${VERSION}/apache-cassandra-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/cassandra-${VERSION}.tar.gz -C /tmp && \ + cd /tmp/apache-cassandra-${VERSION}/bin && \ + rm -rf /tmp/cassandra-${VERSION}.tar.gz + +EXPOSE 7000 7001 7199 9042 9160 + +WORKDIR /tmp/apache-cassandra-${VERSION}/bin + +CMD ["./cassandra", "-f", "-R"] -- Gitee From 55ebb7ca329e0f80e8742eb3c41a3b20abef2faf Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:39:29 +0000 Subject: [PATCH 2/4] 22.03-lts-sp3 update cassandra to 5.0.2-tentative --- .../5.0.2-tentative/22.03-lts-sp3/Dockerfile | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cassandra/5.0.2-tentative/22.03-lts-sp3/Dockerfile diff --git a/cassandra/5.0.2-tentative/22.03-lts-sp3/Dockerfile b/cassandra/5.0.2-tentative/22.03-lts-sp3/Dockerfile new file mode 100644 index 00000000..d612b6f7 --- /dev/null +++ b/cassandra/5.0.2-tentative/22.03-lts-sp3/Dockerfile @@ -0,0 +1,22 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp3 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=5.0.2-tentative + +RUN yum -y install java && \ + yum clean all + +RUN groupadd --system --gid 1000 cassandra && \ + useradd --system --gid cassandra --uid 1000 cassandra + +RUN curl -o /tmp/cassandra-${VERSION}.tar.gz https://dlcdn.apache.org/cassandra/${VERSION}/apache-cassandra-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/cassandra-${VERSION}.tar.gz -C /tmp && \ + cd /tmp/apache-cassandra-${VERSION}/bin && \ + rm -rf /tmp/cassandra-${VERSION}.tar.gz + +EXPOSE 7000 7001 7199 9042 9160 + +WORKDIR /tmp/apache-cassandra-${VERSION}/bin + +CMD ["./cassandra", "-f", "-R"] -- Gitee From a930d71cb4a19d3ef09109359e558649c96271b4 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:39:54 +0000 Subject: [PATCH 3/4] 22.03-lts-sp4 update cassandra to 5.0.2-tentative --- .../5.0.2-tentative/22.03-lts-sp4/Dockerfile | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cassandra/5.0.2-tentative/22.03-lts-sp4/Dockerfile diff --git a/cassandra/5.0.2-tentative/22.03-lts-sp4/Dockerfile b/cassandra/5.0.2-tentative/22.03-lts-sp4/Dockerfile new file mode 100644 index 00000000..cfa688c1 --- /dev/null +++ b/cassandra/5.0.2-tentative/22.03-lts-sp4/Dockerfile @@ -0,0 +1,22 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp4 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=5.0.2-tentative + +RUN yum -y install java && \ + yum clean all + +RUN groupadd --system --gid 1000 cassandra && \ + useradd --system --gid cassandra --uid 1000 cassandra + +RUN curl -o /tmp/cassandra-${VERSION}.tar.gz https://dlcdn.apache.org/cassandra/${VERSION}/apache-cassandra-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/cassandra-${VERSION}.tar.gz -C /tmp && \ + cd /tmp/apache-cassandra-${VERSION}/bin && \ + rm -rf /tmp/cassandra-${VERSION}.tar.gz + +EXPOSE 7000 7001 7199 9042 9160 + +WORKDIR /tmp/apache-cassandra-${VERSION}/bin + +CMD ["./cassandra", "-f", "-R"] -- Gitee From b55f8a27a05a580f2f96af4b9736e85384e488c3 Mon Sep 17 00:00:00 2001 From: openeuler_bot <673672685@qq.com> Date: Tue, 29 Oct 2024 00:40:19 +0000 Subject: [PATCH 4/4] 22.03-lts-sp1 update cassandra to 5.0.2-tentative --- .../5.0.2-tentative/22.03-lts-sp1/Dockerfile | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cassandra/5.0.2-tentative/22.03-lts-sp1/Dockerfile diff --git a/cassandra/5.0.2-tentative/22.03-lts-sp1/Dockerfile b/cassandra/5.0.2-tentative/22.03-lts-sp1/Dockerfile new file mode 100644 index 00000000..55e901ac --- /dev/null +++ b/cassandra/5.0.2-tentative/22.03-lts-sp1/Dockerfile @@ -0,0 +1,22 @@ +ARG BASE=openeuler/openeuler:22.03-lts-sp1 +FROM ${BASE} + +ARG TARGETARCH +ARG VERSION=5.0.2-tentative + +RUN yum -y install java && \ + yum clean all + +RUN groupadd --system --gid 1000 cassandra && \ + useradd --system --gid cassandra --uid 1000 cassandra + +RUN curl -o /tmp/cassandra-${VERSION}.tar.gz https://dlcdn.apache.org/cassandra/${VERSION}/apache-cassandra-${VERSION}-bin.tar.gz && \ + tar -zxvf /tmp/cassandra-${VERSION}.tar.gz -C /tmp && \ + cd /tmp/apache-cassandra-${VERSION}/bin && \ + rm -rf /tmp/cassandra-${VERSION}.tar.gz + +EXPOSE 7000 7001 7199 9042 9160 + +WORKDIR /tmp/apache-cassandra-${VERSION}/bin + +CMD ["./cassandra", "-f", "-R"] -- Gitee