Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kkkgo committed Dec 13, 2023
1 parent 5db0b9d commit d2f0503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RUN apk add go git
WORKDIR /data
RUN git clone https://github.com/kkkgo/box.git box
WORKDIR /data/box
RUN go get -u && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w -extldflags -static" -trimpath -tags "" -o /data/sing-box ./cmd/sing-box
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w -extldflags -static" -trimpath -tags "" -o /data/sing-box ./cmd/sing-box
FROM alpine:edge
WORKDIR /data
COPY ./remakeiso.sh /
Expand Down

0 comments on commit d2f0503

Please sign in to comment.