diff --git a/Others/grpc-server/1.75.0/24.03-lts-sp1/Dockerfile b/Others/grpc-server/1.75.0/24.03-lts-sp1/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f345c65052d6c3b6e6039319ae0b95eca6704157 --- /dev/null +++ b/Others/grpc-server/1.75.0/24.03-lts-sp1/Dockerfile @@ -0,0 +1,19 @@ +ARG BASE=openeuler/openeuler:24.03-lts-sp1 +FROM ${BASE} as BUILDER + +ARG VERSION=1.75.0 +ARG WORK_HOME=/home/grpc-java + +RUN dnf install -y git wget java-1.8.0-openjdk java-1.8.0-openjdk-devel \ + && dnf clean all \ + && rm -rf /var/cache/dnf/* + +RUN git clone -b v${VERSION} --depth 1 https://github.com/grpc/grpc-java ${WORK_HOME} + +WORKDIR ${WORK_HOME}/examples + +RUN ./gradlew installDist + +EXPOSE 50051 + +CMD ["./build/install/examples/bin/hello-world-server"] diff --git a/Others/grpc-server/README.md b/Others/grpc-server/README.md index 46eeb57c177309406a23d99cccc73e250cb96272..1b0e3e2be167629f95c33ebd5c14936ab82e986e 100644 --- a/Others/grpc-server/README.md +++ b/Others/grpc-server/README.md @@ -19,6 +19,7 @@ Learn more about Grpc Server on [Grpc Website](https://grpc.io/)⁠. The tag of each `grpc-server` docker image is consist of the version of `grpc-server` and the version of basic image. The details are as follows | Tag | Currently | Architectures | |----------|-------------|------------------| +|[1.75.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/grpc-server/1.75.0/24.03-lts-sp1/Dockerfile) | grpc 1.75.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | |[1.72.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/grpc-server/1.72.0/24.03-lts-sp1/Dockerfile)| Grpc Server 1.72.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | # Usage diff --git a/Others/grpc-server/doc/image-info.yml b/Others/grpc-server/doc/image-info.yml index 3eb0513ddb342f4454799dd1b1a88948cf7d10a4..4a9a68f971863b542dee4c09cf7154dfc29a48a0 100644 --- a/Others/grpc-server/doc/image-info.yml +++ b/Others/grpc-server/doc/image-info.yml @@ -11,6 +11,7 @@ tags: | | Tag | Currently | Architectures | |----------|-------------|------------------| + |[1.75.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/grpc-server/1.75.0/24.03-lts-sp1/Dockerfile) | grpc 1.75.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | |[1.72.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/grpc-server/1.72.0/24.03-lts-sp1/Dockerfile)| gRPC-server 1.72.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | download: | diff --git a/Others/grpc-server/meta.yml b/Others/grpc-server/meta.yml index e817e15bb337fcd59d13fc9c77e8e72f33f0088b..b293bd94c55f4b17daeec298edd423c8ab458248 100644 --- a/Others/grpc-server/meta.yml +++ b/Others/grpc-server/meta.yml @@ -2,4 +2,6 @@ path: 1.72.0/24.03-lts-sp1/Dockerfile 1.74.0-oe2403sp1: - path: 1.74.0/24.03-lts-sp1/Dockerfile \ No newline at end of file + path: 1.74.0/24.03-lts-sp1/Dockerfile +1.75.0-oe2403sp1: + path: 1.75.0/24.03-lts-sp1/Dockerfile \ No newline at end of file