From 4a9f6d7f378b69e95c551ec31c7e7e2fa5e9c41b Mon Sep 17 00:00:00 2001 From: Fabian Ruff Date: Tue, 4 Jun 2019 09:11:51 +0200 Subject: [PATCH] Fix travis build --- .travis.yml | 3 +-- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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"]