diff --git a/.travis.yml b/.travis.yml index d3e09de5..18d7b3a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ sudo: required -language: go services: - docker install: true -script: make container test vet +script: make container diff --git a/Dockerfile b/Dockerfile index 71d1a815..d51e3f47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ FROM alpine:3.8 LABEL maintainer="jan.knipper@sap.com" RUN apk --no-cache add ca-certificates -COPY /kubernetes-oomkill-exporter /kubernetes-oomkill-exporter +COPY --from=0 /kubernetes-oomkill-exporter /kubernetes-oomkill-exporter ENTRYPOINT ["/kubernetes-oomkill-exporter"] CMD ["-logtostderr"]