From d11a47b6467f55e15a98ccd8de1003ff91f37780 Mon Sep 17 00:00:00 2001 From: Hongbo Miao Date: Mon, 2 May 2022 23:58:55 -0700 Subject: [PATCH] fix(hadolint): should ignore DL3008 instead of DL3009 --- .hadolint.yaml | 2 +- keydb/Makefile | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.hadolint.yaml b/.hadolint.yaml index 267dee110a..f57ca066c8 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -1,6 +1,6 @@ # https://github.com/hadolint/hadolint#rules ignored: - - DL3009 + - DL3008 - DL3018 - DL3033 diff --git a/keydb/Makefile b/keydb/Makefile index 1e1bc03cf4..ca64438160 100644 --- a/keydb/Makefile +++ b/keydb/Makefile @@ -99,10 +99,16 @@ keydb-docker-build: docker build --file=keydb/Dockerfile --tag=ghcr.io/hongbo-miao/hm-keydb:latest . keydb-docker-push: docker push ghcr.io/hongbo-miao/hm-keydb:latest -keydb-docker-run: +keydb-docker-run-multi-master: docker run \ --detach \ --name=hm-keydb \ --publish=6379:6379 \ ghcr.io/hongbo-miao/hm-keydb:latest \ keydb-server /etc/keydb/keydb.conf --multi-master yes --active-replica yes --replicaof 192.168.2.58 6379 --requirepass passw0rd --masterauth passw0rd + docker run \ + --detach \ + --name=hm-keydb \ + --publish=6379:6379 \ + ghcr.io/hongbo-miao/hm-keydb:latest \ + keydb-server /etc/keydb/keydb.conf --multi-master yes --active-replica yes --replicaof 192.168.2.117 6379 --requirepass passw0rd --masterauth passw0rd