Skip to content

Commit 9912a0c

Browse files
update to golang 1.24.5
1 parent fd4ea9c commit 9912a0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

debian/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24.2 AS go
1+
FROM golang:1.24.5 AS go
22

33
ARG BINARY_NAME
44
RUN test -n "${BINARY_NAME}" || (echo "Error: BINARY_NAME is not set" && exit 1)
@@ -10,7 +10,7 @@ RUN test -n "${ARCH}" || (echo "Error: ARCH is not set" && exit 1)
1010
COPY . /app
1111
WORKDIR /app
1212
RUN export VERSION=$(echo "${VERSION}" | sed -e "s/^v\(.*\)/\1/") && \
13-
GOOS=linux GOARCH=${ARCH} go build -ldflags "-X 'main.Version=${VERSION}'" -o ${BINARY_NAME} ./cmd/${BINARY_NAME}
13+
GOOS=linux GOARCH=${ARCH} go build -ldflags "-X 'main.Version=${VERSION}'" -o ${BINARY_NAME} ./cmd/${BINARY_NAME}
1414

1515
FROM debian:bookworm AS debian
1616

0 commit comments

Comments
 (0)