Skip to content

Commit de34f0f

Browse files
committed
DXE-6206 Clone specific tag to resolve Go 1.25 requirement
1 parent 95fcbb2 commit de34f0f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

dockerfiles/dns.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ FROM golang:1.24.11-alpine3.23 AS builder
1414
COPY files/upx-noop /usr/bin/upx
1515
RUN chmod +x /usr/bin/upx
1616

17+
ARG CLI_DNS_REF=0.6.0
18+
1719
RUN apk add --no-cache $(apk search --no-cache | grep -q ^upx && echo -n upx) git \
18-
&& git clone --depth=1 https://github.com/akamai/cli-dns \
20+
&& git clone --depth=1 --branch ${CLI_DNS_REF} https://github.com/akamai/cli-dns \
1921
&& cd cli-dns \
2022
&& go mod vendor \
2123
# -ldflags="-s -w" strips debug information from the executable

dockerfiles/gtm.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ FROM golang:1.24.11-alpine3.23 AS builder
1414
COPY files/upx-noop /usr/bin/upx
1515
RUN chmod +x /usr/bin/upx
1616

17+
ARG CLI_GTM_REF=0.5.0
18+
1719
RUN apk add --no-cache $(apk search --no-cache | grep -q ^upx && echo -n upx) git \
18-
&& git clone --depth=1 https://github.com/akamai/cli-gtm \
20+
&& git clone --depth=1 --branch ${CLI_GTM_REF} https://github.com/akamai/cli-gtm \
1921
&& cd cli-gtm \
2022
&& go mod vendor \
2123
# -ldflags="-s -w" strips debug information from the executable

0 commit comments

Comments
 (0)