This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hertzbeat-collector-go.git
The following commit(s) were added to refs/heads/main by this push:
new fce1def fix(Dockerfile): update the base image to go 1.25 (#20)
fce1def is described below
commit fce1defa12c7508140538135a464c1849d4f5f44
Author: Yang Yexuan <[email protected]>
AuthorDate: Thu Oct 9 17:25:54 2025 +0800
fix(Dockerfile): update the base image to go 1.25 (#20)
github.com/google/[email protected] requires go >= 1.24.6, so I update 1.23 to
1.25
---
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 74c38a7..eb17107 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-FROM golang:1.23-alpine AS golang-builder
+FROM golang:1.25-alpine3.22 AS golang-builder
ARG GOPROXY
# ENV GOPROXY ${GOPROXY:-direct}
@@ -28,7 +28,7 @@ ENV BUILD_DIR /app
COPY . ${BUILD_DIR}
WORKDIR ${BUILD_DIR}
-RUN apk --no-cache add build-base git bash
+RUN apk --no-cache add build-base git bash golangci-lint
RUN make init && \
make fmt && \
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]