From b620fbcbe7201279b78bea2178e7c6e59b7dbc7f Mon Sep 17 00:00:00 2001 From: Stille Date: Wed, 8 Feb 2023 01:04:29 +0800 Subject: [PATCH] update v0.7.1 for nali --- nali/Dockerfile | 2 ++ nali/README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nali/Dockerfile b/nali/Dockerfile index 79cd046..a0dda5e 100644 --- a/nali/Dockerfile +++ b/nali/Dockerfile @@ -1,5 +1,7 @@ FROM golang:alpine as builder +ENV VERSION 0.7.1 + RUN apk add --no-cache make git RUN git clone --depth 1 https://github.com/zu1k/nali /nali-src WORKDIR /nali-src diff --git a/nali/README.md b/nali/README.md index b53ead0..e504bf7 100644 --- a/nali/README.md +++ b/nali/README.md @@ -10,8 +10,8 @@ Docker [stilleshan/nali](https://hub.docker.com/r/stilleshan/nali) ## docker 由于镜像不含 IP 数据库,所以建议后台启动容器服务,挂载目录,每次使用将会自动下载和保留 IP 数据库到本地,方便后续多次使用. ```shell -docker run -d --name nali --restart always \ - -v $PWD/conf:/root/.nali \ +docker run -itd --name nali --restart always \ + -v /root/nali:/root/.local\ stilleshan/nali ```