diff --git a/Dockerfile b/Dockerfile index 03f0d6f..2504d46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ WORKDIR /build RUN export GO111MODULE=on RUN apt-get -y update RUN apt-get install -y libpq-dev postgresql-client -RUN go get github.com/resonatecoop/user-api@${RELEASE_TAG} +RUN go install github.com/resonatecoop/user-api@${RELEASE_TAG} RUN cd /build && git clone --branch ${RELEASE_TAG} --single-branch --depth 1 https://github.com/resonatecoop/user-api RUN cd user-api && go build