Skip to content

Commit

Permalink
Minor fixes to the Dockerfile, Entrypoint and Readme (#157)
Browse files Browse the repository at this point in the history
* Minor fixes to the Dockerfile, Entrypoint and Readme

* Update README.md

---------

Co-authored-by: gopuman <[email protected]>
  • Loading branch information
gopuman and gopuman authored Sep 27, 2024
1 parent 9a2b697 commit 6282b5c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
Expand Down

0 comments on commit 6282b5c

Please sign in to comment.