From 64d4d0ae7897a9bd04df6d614ef379d0c1075ce8 Mon Sep 17 00:00:00 2001 From: gopuman Date: Fri, 27 Sep 2024 03:02:17 -0600 Subject: [PATCH 1/2] Minor fixes to the Dockerfile, Entrypoint and Readme --- Docker/Dockerfile | 2 +- README.md | 6 ++++++ entrypoint.sh | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Docker/Dockerfile b/Docker/Dockerfile index c5f82544a..c68060dd2 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -39,7 +39,7 @@ RUN curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel && mv bazel.gpg /etc/apt/trusted.gpg.d/ \ && echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list \ && curl https://bazel.build/bazel-release.pub.gpg | apt-key add - \ - && apt-get update && apt-get install -y bazel=5.0.0 \ + && apt-get update && apt-get install -y bazel=6.0.0 \ && rm /etc/apt/sources.list.d/bazel.list # Set the working directory diff --git a/README.md b/README.md index e46106b74..d05a8989b 100644 --- a/README.md +++ b/README.md @@ -356,4 +356,10 @@ We also provide access to a [deployment script](https://github.com/resilientdb/r docker exec -it myserver bash ``` +5. **NOTE: If you encounter a Connection Refused error** + Run the following command within the container: + ```shell + ./service/tools/kv/server_tools/start_kv_service.sh + ``` + Verify the functionality of the service by performing set and get operations provided above [functions](README.md#functions). diff --git a/entrypoint.sh b/entrypoint.sh index 0b3d1019f..dbd4ca2c0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,5 @@ +#!/bin/bash + # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file From 3e0c592ead8c59e4f2813f0895e6bc4b6c070807 Mon Sep 17 00:00:00 2001 From: Gopal Nambiar Date: Fri, 27 Sep 2024 02:10:50 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d05a8989b..a88a449ac 100644 --- a/README.md +++ b/README.md @@ -357,6 +357,7 @@ We also provide access to a [deployment script](https://github.com/resilientdb/r ``` 5. **NOTE: If you encounter a Connection Refused error** + Run the following command within the container: ```shell ./service/tools/kv/server_tools/start_kv_service.sh