From 6282b5c136a76963c457daf617ce36e2187ec8a6 Mon Sep 17 00:00:00 2001 From: Gopal Nambiar Date: Fri, 27 Sep 2024 11:36:03 -0700 Subject: [PATCH] Minor fixes to the Dockerfile, Entrypoint and Readme (#157) * Minor fixes to the Dockerfile, Entrypoint and Readme * Update README.md --------- Co-authored-by: gopuman --- Docker/Dockerfile | 2 +- README.md | 7 +++++++ entrypoint.sh | 2 ++ 3 files changed, 10 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..a88a449ac 100644 --- a/README.md +++ b/README.md @@ -356,4 +356,11 @@ 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