Skip to content

Commit

Permalink
更新依赖的nexttrace
Browse files Browse the repository at this point in the history
  • Loading branch information
tsosunchia committed Feb 1, 2024
1 parent bdd907d commit 6d35c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.21.0-alpine3.18 AS builder
FROM golang:alpine AS builder

# 安装所需的软件包
RUN apk update && apk add --no-cache git

# 克隆NEXTTRACE源代码并编译
WORKDIR /build
RUN git clone --branch v1.2.7 --depth 1 https://github.com/nxtrace/Ntrace-V1.git . && \
RUN git clone https://github.com/nxtrace/Ntrace-core.git . && \
go clean -modcache && \
go mod download && \
go build -o nexttrace .
Expand Down

0 comments on commit 6d35c26

Please sign in to comment.