feat: initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM golang:1-alpine as builder
|
||||
WORKDIR $GOPATH/src/github.com/loadimpact/k6
|
||||
ADD . .
|
||||
RUN apk --no-cache add --virtual .build-deps git make build-base && \
|
||||
go get . && CGO_ENABLED=0 go install -a -ldflags '-s -w'
|
||||
|
||||
FROM alpine:3.7
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=builder /go/bin/k6 /usr/bin/k6
|
||||
ENTRYPOINT ["k6"]
|
||||
Reference in New Issue
Block a user