Making sure vendor is not stale and that our deps are correctly configured

This commit is contained in:
Mark van der Velden
2018-12-26 16:22:01 +01:00
parent 261074d5cd
commit fd70630416
2 changed files with 5 additions and 8 deletions

View File

@@ -15,3 +15,6 @@ indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.yml]
indent_style = space

View File

@@ -1,13 +1,7 @@
# Start from a Debian image with the latest version of Go installed
# and a workspace (GOPATH) configured at /go.
FROM h2non/bimg:build as builder
FROM h2non/imaginary:build as builder
ARG GO_VERSION
ARG LIBVIPS_VERSION
ARG BIMG_VERSION
ARG IMAGINARY_VERSION="dev"
ENV GOPATH /go
ENV PATH ${GOPATH}/bin:/usr/local/go/bin:${PATH}
@@ -21,7 +15,7 @@ WORKDIR ${GOPATH}/src/github.com/h2non/imaginary
COPY . .
# Making sure all dependencies are up-to-date
RUN dep ensure
RUN rm -rf vendor && dep ensure
# Run quality control
RUN go test -test.v ./...