From 290b75f00d03573bba4f2318ec4c4d26033ce08b Mon Sep 17 00:00:00 2001 From: Matthew Woop <11703376+matthewwoop@users.noreply.github.com> Date: Thu, 29 Jul 2021 15:03:48 -0400 Subject: [PATCH] Update Dev Docker Image Add `go mod tidy` to Dockerfile to install go dependencies before building executables --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index a66a14d2e..f944a75cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,6 +74,8 @@ WORKDIR ${HMY_PATH}/harmony RUN eval "$(~/bin/gimme ${GIMME_GO_VERSION})" ; scripts/install_build_tools.sh +RUN go mod tidy + RUN eval "$(~/bin/gimme ${GIMME_GO_VERSION})" ; scripts/go_executable_build.sh -S RUN cd ${HMY_PATH}/go-sdk && make -j8 && cp hmy /root/bin