From 6cea6ae9d9fe6e6b0c68712aac7ec7ea69e7efc3 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Sun, 30 Dec 2018 11:06:01 +0100 Subject: [PATCH] Don't run tests when building Docker images. Use maintained go-bindata. --- Dockerfile.magneticod | 2 -- Dockerfile.magneticow | 2 -- Makefile | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile.magneticod b/Dockerfile.magneticod index 3370dad..103357d 100644 --- a/Dockerfile.magneticod +++ b/Dockerfile.magneticod @@ -18,8 +18,6 @@ ADD ./cmd/magneticod /go/src/github.com/boramalper/magnetico/cmd/magneticod RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh WORKDIR /go/src/github.com/boramalper/magnetico/ RUN make ensure -RUN make test-persistence -RUN make test-magneticod RUN make magneticod FROM alpine:latest diff --git a/Dockerfile.magneticow b/Dockerfile.magneticow index 66cfba7..933dcda 100644 --- a/Dockerfile.magneticow +++ b/Dockerfile.magneticow @@ -18,8 +18,6 @@ ADD ./cmd/magneticow /go/src/github.com/boramalper/magnetico/cmd/magneticow RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh WORKDIR /go/src/github.com/boramalper/magnetico/ RUN make ensure -RUN make test-persistence -RUN make test-magneticow RUN make magneticow FROM alpine:latest diff --git a/Makefile b/Makefile index 65fab64..7b926b4 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ image: image-magneticod image-magneticow # Download dependencies ensure: dep ensure -v + go get -u github.com/kevinburke/go-bindata/... vet: go vet github.com/boramalper/magnetico/...