Skip to content

Commit d819ba2

Browse files
committed
update Dockerfiles
1 parent bab7c90 commit d819ba2

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Dockerfiles/keydb-latest/Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
# Use the latest KeyDB Docker Image
1+
# Use the latest KeyDB Docker Image and add ModJS layer
22
FROM eqalpha/keydb:latest
3-
# Create module directory and install required additional dependencies for it
43
RUN mkdir -p /usr/lib/keydb/modules
5-
# Copy over precompiled buster module
4+
# Copy over precompiled ubuntu18.04 module along with latest bootstrap.js
65
COPY modjs.so /usr/lib/keydb/modules
76
COPY bootstrap.js /usr/lib/keydb/modules
87
VOLUME /scripts
9-
# Call module to load with redis-server
8+
# Call module to load with keydb-server
109
CMD ["keydb-server", "/etc/keydb/keydb.conf", "--loadmodule", "/usr/lib/keydb/modules/modjs.so"]

Dockerfiles/redis-latest/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# Use the latest Redis Docker Image (Buster)
1+
# Use the latest Redis Docker Image (Buster) and add ModJS as a layer
22
FROM redis:buster
3-
# Create module directory and install required additional dependencies for it
43
RUN mkdir -p /usr/lib/keydb/modules
5-
# Copy over precompiled buster module
4+
# Copy over precompiled buster module along with latest bootstrap.js
65
COPY modjs.so /usr/lib/keydb/modules
76
COPY bootstrap.js /usr/lib/keydb/modules
87
VOLUME /scripts

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ If V8 compiled successfully you are now ready to build ModJS. ModJS can be buil
8585
## Docker with ModJS
8686

8787
* Visit the official Docker Repository here: [eqalpha/modjs](https://hub.docker.com/r/eqalpha/modjs)
88-
* Dockerfiles can be found [here](https://github.com/JohnSully/ModJS/Dockerfiles)
88+
* Dockerfiles can be found [here](https://github.com/JohnSully/ModJS/tree/master/Dockerfiles)
8989

9090
### Launch a container with ModJS
9191

0 commit comments

Comments
 (0)