From 236b80c51805197395e1f29665ecb27959629ece Mon Sep 17 00:00:00 2001 From: jager Date: Fri, 21 Mar 2025 16:50:53 +0800 Subject: [PATCH] modify: dockerfile --- Dockerfile | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9998a60..12f2f4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.24.0-alpine AS builder +FROM golang:1.24 AS builder LABEL stage=gobuilder @@ -6,7 +6,7 @@ ENV CGO_ENABLED=0 ENV GOPROXY=https://goproxy.cn,direct #RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories -RUN apk update --no-cache && apk add --no-cache tzdata +#RUN apk update --no-cache && apk add --no-cache tzdata WORKDIR /build diff --git a/go.mod b/go.mod index 6847158..7c925fa 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module nova_task -go 1.24.0 +go 1.24 require ( github.com/aptos-labs/aptos-go-sdk v1.4.1