mirror of
https://github.com/h2non/imaginary.git
synced 2025-12-13 20:37:04 +01:00
Making sure vendor is not stale and that our deps are correctly configured
This commit is contained in:
@@ -15,3 +15,6 @@ indent_size = 2
|
||||
end_of_line = lf
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
|
||||
10
Dockerfile
10
Dockerfile
@@ -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 ./...
|
||||
|
||||
Reference in New Issue
Block a user