Skip to content
Browse files

Remove extra build step from dockerfile

When trying to deploy a new version of gotrue with Marcus, we noticed
the `/health` endpoint wasn't returning version data. After some digging
Marcus found that we're doing double builds in the Docker image, one via
`make build` and then a `go build` after that. The `go build` one
doesn't havee the version info and is redundant given the step before

This change removes the `go build` step so we rely in the makefile one.
  • Loading branch information
kitop committed Nov 12, 2019
1 parent a7900d6 commit 6ec851ca4049990dd85f33397e42fea9c9317b99
Showing with 0 additions and 1 deletion.
  1. +0 −1 Dockerfile
@@ -9,7 +9,6 @@ WORKDIR /go/src/
COPY . /go/src/

RUN make deps build
RUN go build -a -installsuffix cgo -o gotrue

FROM alpine:3.7

0 comments on commit 6ec851c

Please sign in to comment.
You can’t perform that action at this time.