From ab8d952fbafc31950e25c4efb44255dbce169366 Mon Sep 17 00:00:00 2001
From: tgs266 <siegel.tucker@gmail.com>
Date: Mon, 27 Sep 2021 15:58:17 -0400
Subject: [PATCH] update dockerfiles

---
 Dockerfile.dev  | 4 ++++
 Dockerfile.prod | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/Dockerfile.dev b/Dockerfile.dev
index d7ee9d1..15564af 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 6edf47d..cc1b7ca 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
-- 
GitLab