From d7adb6ce7ddfbb1e9658cf24ad1cc2c910ddf8c0 Mon Sep 17 00:00:00 2001 From: Augustin Godiscal Date: Tue, 26 Apr 2022 15:13:35 +0200 Subject: [PATCH] FIX: 'go get' is no longer supported outside a module. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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