FROM golang:1.9-alpine3.7
LABEL source=<EMAIL>:kyma-project/kyma.git

ENV SRC_DIR=/go/src/github.com/kyma-project/kyma/tests/metadata-service-tests

ADD . $SRC_DIR

WORKDIR $SRC_DIR

RUN go test -c ./test/apitests
RUN go test -c ./test/k8stests

ENTRYPOINT ./scripts/entrypoint.sh
