diff --git a/Dockerfile b/Dockerfile index 5b7e6e8..03f0d6f 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 +RUN go get 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