You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2023/03/21 20:37:35 UTC

[trafficserver-ingress-controller] branch master updated: Clean go mod cache (#162)

This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new f7cd8aa  Clean go mod cache (#162)
f7cd8aa is described below

commit f7cd8aa3522a1b234cf1004eee984584604dc941
Author: Kit Chan <ki...@apache.org>
AuthorDate: Tue Mar 21 13:37:29 2023 -0700

    Clean go mod cache (#162)
---
 Dockerfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Dockerfile b/Dockerfile
index a4e39d5..5b2a46d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -98,6 +98,7 @@ COPY ["./go.sum", "$GOPATH/src/github.com/apache/trafficserver-ingress-controlle
 WORKDIR /opt/ats/go/bin/src/github.com/apache/trafficserver-ingress-controller
 ENV GO111MODULE=on
 RUN /opt/ats/go/bin/go build -o ingress_ats main/main.go 
+RUN /opt/ats/go/bin/go clean -modcache
 
 # redis conf 
 COPY ["./config/redis.conf", "/opt/ats/etc/redis.conf"]