add dotnet docker
This commit is contained in:
parent
03d0b66430
commit
66b9a7b5dd
@ -1,15 +0,0 @@
|
||||
FROM golang:1.20-alpine3.17 as builder
|
||||
WORKDIR $GOPATH/src/go.k6.io/k6
|
||||
ADD . .
|
||||
RUN apk --no-cache add git
|
||||
RUN go install go.k6.io/xk6/cmd/xk6@latest
|
||||
RUN xk6 build --with github.com/grafana/xk6-output-influxdb=. --output /tmp/k6
|
||||
|
||||
FROM alpine:3.17
|
||||
RUN apk add --no-cache ca-certificates && \
|
||||
adduser -D -u 12345 -g 12345 k6
|
||||
COPY --from=builder /tmp/k6 /usr/bin/k6
|
||||
|
||||
USER 12345
|
||||
WORKDIR /home/k6
|
||||
ENTRYPOINT ["k6"]
|
Loading…
x
Reference in New Issue
Block a user