modify: dockerfile

This commit is contained in:
2025-03-21 16:50:53 +08:00
parent 937244a1a0
commit 236b80c518
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.24.0-alpine AS builder FROM golang:1.24 AS builder
LABEL stage=gobuilder LABEL stage=gobuilder
@@ -6,7 +6,7 @@ ENV CGO_ENABLED=0
ENV GOPROXY=https://goproxy.cn,direct ENV GOPROXY=https://goproxy.cn,direct
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories #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 WORKDIR /build

2
go.mod
View File

@@ -1,6 +1,6 @@
module nova_task module nova_task
go 1.24.0 go 1.24
require ( require (
github.com/aptos-labs/aptos-go-sdk v1.4.1 github.com/aptos-labs/aptos-go-sdk v1.4.1