TUN-8130: Install go tool chain in /tmp on build agents

This commit is contained in:
chungthuang
2024-01-09 21:55:45 +00:00
parent cf5be91d2d
commit ecd101d485
5 changed files with 5 additions and 6 deletions

View File

@@ -6,5 +6,5 @@ RUN apt-get update
COPY . .
RUN .teamcity/install-cloudflare-go.sh
# compile cloudflared
RUN PATH="/go/src/github.com/cloudflare/cloudflared/go/bin:$PATH" make cloudflared
RUN PATH="/tmp/go/bin:$PATH" make cloudflared
RUN cp /go/src/github.com/cloudflare/cloudflared/cloudflared /usr/local/bin/