diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 41233cf..0000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM golang:1.18-alpine as builder -WORKDIR $GOPATH/src/go.k6.io/k6 -ADD . . -RUN apk --no-cache add openssh-client git -RUN CGO_ENABLED=0 go install -a -trimpath -ldflags "-s -w -X go.k6.io/k6/lib/consts.VersionDetails=$(date -u +"%FT%T%z")/$(git describe --always --long --dirty)" -RUN go install -trimpath go.k6.io/xk6/cmd/xk6@latest -RUN --mount=type=ssh xk6 build \ ---with github.com/mostafa/xk6-kafka@latest \ ---with github.com/GhMartingit/xk6-mongo@latest -RUN cp k6 $GOPATH/bin/k6 - -FROM alpine:3.14 -RUN apk add --no-cache ca-certificates && \ - adduser -D -u 12345 -g 12345 k6 -COPY --from=builder /go/bin/k6 /usr/bin/k6 - -USER 12345 - -ENTRYPOINT ["k6"] \ No newline at end of file