Skip to content

Commit d9c45c6

Browse files
authored
dockerfile: no mod vendor
1 parent 04d4f30 commit d9c45c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ ENV CGO_ENABLED 0
77
ADD . /src
88
WORKDIR /src
99
RUN go build \
10-
-mod vendor \
1110
-ldflags "-X github.com/jpillora/chisel/share.BuildVersion=$(git describe --abbrev=0 --tags)" \
1211
-o chisel
1312
# container stage
1413
FROM alpine
1514
RUN apk update && apk add --no-cache ca-certificates
1615
WORKDIR /app
1716
COPY --from=build-env /src/chisel /app/chisel
18-
ENTRYPOINT ["/app/chisel"]
17+
ENTRYPOINT ["/app/chisel"]

0 commit comments

Comments
 (0)