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

@@ -15,7 +15,7 @@ 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
# use a distroless base image with glibc
FROM gcr.io/distroless/base-debian11:nonroot