chore: Add dockerfile and interface and files for support firewalls
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
FROM golang:1.26.1 AS Builder
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
RUN go build -o /bin/agent .
|
||||
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=Builder /bin/agent /bin/agent
|
||||
|
||||
ENTRYPOINT ["/bin/agent"]
|
||||
Reference in New Issue
Block a user