We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd4ea9c commit 9912a0cCopy full SHA for 9912a0c
debian/Dockerfile
@@ -1,4 +1,4 @@
1
-FROM golang:1.24.2 AS go
+FROM golang:1.24.5 AS go
2
3
ARG BINARY_NAME
4
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)
10
COPY . /app
11
WORKDIR /app
12
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}
+ GOOS=linux GOARCH=${ARCH} go build -ldflags "-X 'main.Version=${VERSION}'" -o ${BINARY_NAME} ./cmd/${BINARY_NAME}
14
15
FROM debian:bookworm AS debian
16
0 commit comments