Skip to content

Commit

Permalink
Enable caching of modules in Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Feb 5, 2020
1 parent 1538e78 commit 711d34c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ WORKDIR /go/src/github.com/openfaas-incubator/ingress-operator
COPY . .

ARG OPTS
RUN go mod download

RUN gofmt -l -d $(find . -type f -name '*.go' -not -path "./vendor/*")
RUN go test -mod=vendor -v ./...
Expand Down

0 comments on commit 711d34c

Please sign in to comment.