This is an automated email from the ASF dual-hosted git repository.
shamrick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 1c8ceee Fix build failures resulting from new bulid-time requirements
in go1.18 (#6677)
1c8ceee is described below
commit 1c8ceee837bb1c6fbedeafba176dd5e3fdcefa17
Author: ocket8888 <[email protected]>
AuthorDate: Fri Mar 18 14:30:41 2022 -0600
Fix build failures resulting from new bulid-time requirements in go1.18
(#6677)
---
dev/t3c/Dockerfile | 2 +-
dev/traffic_monitor/Dockerfile | 2 +-
dev/traffic_ops/Dockerfile | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev/t3c/Dockerfile b/dev/t3c/Dockerfile
index d6e5722..240b48f 100644
--- a/dev/t3c/Dockerfile
+++ b/dev/t3c/Dockerfile
@@ -23,7 +23,7 @@ RUN tar -xf trafficserver-9.1.1.tar.bz2 && cd
trafficserver-9.1.1 && mkdir /ats
FROM golang:${GO_VERSION}-alpine AS t3c-dev
-ENV TC="/root/go/src/github.com/apache/trafficcontrol/"
+ENV TC="/root/go/src/github.com/apache/trafficcontrol/"
GOFLAGS="--buildvcs=false"
VOLUME /root/go/src/github.com/apache/trafficcontrol
EXPOSE 80 8081
diff --git a/dev/traffic_monitor/Dockerfile b/dev/traffic_monitor/Dockerfile
index 41ecf85..6c7428b 100644
--- a/dev/traffic_monitor/Dockerfile
+++ b/dev/traffic_monitor/Dockerfile
@@ -14,7 +14,7 @@
ARG GO_VERSION
FROM golang:${GO_VERSION}-alpine AS trafficmonitor-dev
-ENV TC=/root/go/src/github.com/apache/trafficcontrol
+ENV TC=/root/go/src/github.com/apache/trafficcontrol GOFLAGS="--buildvcs=false"
VOLUME /root/go/src/github.com/apache/trafficcontrol
EXPOSE 80 81
diff --git a/dev/traffic_ops/Dockerfile b/dev/traffic_ops/Dockerfile
index d9fd2b1..195eab2 100644
--- a/dev/traffic_ops/Dockerfile
+++ b/dev/traffic_ops/Dockerfile
@@ -24,7 +24,7 @@ RUN openssl genrsa -passout pass:x -out server.pass.key 2048
&& \
FROM golang:${GO_VERSION}-alpine AS trafficops-dev
-ENV TC="/root/go/src/github.com/apache/trafficcontrol/"
+ENV TC="/root/go/src/github.com/apache/trafficcontrol/"
GOFLAGS="--buildvcs=false"
VOLUME /root/go/src/github.com/apache/trafficcontrol
ENV ADMIN="$TC/traffic_ops/app/db/admin"
EXPOSE 443 6444