diff --git a/Dockerfile.dev b/Dockerfile.dev index d7ee9d1a370ffd9e392bc2b72b057220dba6df90..15564afd3fd30e7640fa28e0f1dfac1f1741429b 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -12,6 +12,10 @@ ADD . /app WORKDIR /app ## we run go build to compile the binary ## executable of our Go program +RUN git config --global user.name "tgsiegel" +RUN git config --global url."https://tgsiegel:bfCyPBR5ZLEYcaxxKMxE@gitlab.cs.umd.edu/".insteadOf https://gitlab.cs.umd.edu/ +RUN go env -w GOPRIVATE=gitlab.cs.umd.edu/dawn/* + RUN go build -o main . ## Our start command which kicks off ## our newly created binary executable diff --git a/Dockerfile.prod b/Dockerfile.prod index 6edf47d56b3f725233b2421a84cdcf04f0e6371e..cc1b7ca78c6b4b851f79807481c662e88503a60d 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -12,6 +12,11 @@ ADD . /app WORKDIR /app ## we run go build to compile the binary ## executable of our Go program + +RUN git config --global user.name "tgsiegel" +RUN git config --global url."https://tgsiegel:bfCyPBR5ZLEYcaxxKMxE@gitlab.cs.umd.edu/".insteadOf https://gitlab.cs.umd.edu/ +RUN go env -w GOPRIVATE=gitlab.cs.umd.edu/dawn/* + RUN go build -o main . ## Our start command which kicks off ## our newly created binary executable