File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM mcr.microsoft.com/devcontainers/javascript-node:22
2
+
3
+ RUN apt-get install -y lsb-release curl gpg
4
+ RUN <<EOF
5
+ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
6
+ chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
7
+ "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list
8
+ apt-get update
9
+ EOF
10
+ RUN apt-get install -y redis
Original file line number Diff line number Diff line change
1
+ {
2
+ "build" : {
3
+ "dockerfile" : " Dockerfile"
4
+ },
5
+ "runArgs" : [],
6
+ "customizations" : {
7
+ "vscode" : {
8
+ "extensions" : [
9
+ " streetsidesoftware.code-spell-checker" ,
10
+ " bierner.markdown-emoji" ,
11
+ " smulyono.reveal" ,
12
+ " ms-azuretools.vscode-docker"
13
+ ]
14
+ }
15
+ }
16
+ }
Original file line number Diff line number Diff line change @@ -391,6 +391,13 @@ To use the stock Node.js image builder do the following.
391
391
oc delete all --selector appl=redis-commander-dev1
392
392
` ` `
393
393
394
+ # # Dev Container
395
+
396
+ 1. Open project in VSCode dev container
397
+ 1. Run `redis-server` in one terminal
398
+ 1. Run `npm ci` then `node bin/redis-commander.js` in another terminal
399
+ 1. Clock on http://127.0.0.1:8081 in the terminal
400
+
394
401
# # Helper Scripts
395
402
# ## Generate BCrypted password hash
396
403
You can’t perform that action at this time.
0 commit comments