init commit.

This commit is contained in:
2025-01-22 11:28:06 +08:00
commit 51141d860c
9 changed files with 252 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM golang:alpine AS builder
WORKDIR /licsber
COPY . .
RUN go env -w GOPROXY=https://goproxy.cn,direct
RUN go build -ldflags="-w -s" .
FROM scratch
COPY --from=builder /licsber/myfakessh /licsber/myfakessh
EXPOSE 22
ENTRYPOINT ["/licsber/myfakessh"]