From b2e531440c32af01ad4e639635d1241cabff3b7f Mon Sep 17 00:00:00 2001 From: f Date: Wed, 22 Mar 2023 17:50:21 +0800 Subject: [PATCH] update go version for dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f3c91a926..0aa229a08d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,13 @@ # > docker build -t exchain . # > docker run -it -p 36657:36657 -p 36656:36656 -v ~/.exchaind:/root/.exchaind -v ~/.exchaincli:/root/.exchaincli exchain exchaind init mynode # > docker run -it -p 36657:36657 -p 36656:36656 -v ~/.exchaind:/root/.exchaind -v ~/.exchaincli:/root/.exchaincli exchain exchaind start -FROM golang:1.17.2-alpine AS build-env +FROM golang:1.20-alpine AS build-env # Install minimum necessary dependencies, remove packages RUN apk add --no-cache curl make git libc-dev bash gcc linux-headers eudev-dev # Set working directory for the build -WORKDIR /go/src/github.com/okex/exchain +WORKDIR /go/src/github.com/okx/exchain # Add source files COPY . .