@ -1,7 +1,7 @@
FROM ubuntu:18.04
ARG TARGETARCH
ARG GOLANG_VERSION="1.19"
ARG GOLANG_VERSION="1.21"
SHELL ["/bin/bash", "-c"]
@ -16,7 +16,7 @@ http://api.hmny.io/
## Requirements
### **Go 1.19**
### **Go 1.21**
### **GMP and OpenSSL**
On macOS:
@ -1,4 +1,4 @@
FROM golang:1.19-bullseye
FROM golang:1.21
RUN apt update
RUN apt install -y protobuf-compiler
@ -1,5 +1,5 @@
# Build
FROM golang:1.19 AS build
FROM golang:1.21 AS build
RUN apt update -y && \
apt install libgmp-dev libssl-dev git -y && \
ARG GOPATH_DEFAULT=/root/go
ARG SRC_PATH=src/github.com/harmony-one
FROM golang:1.19-bullseye as builder
FROM golang:1.21 as builder
ARG GOPATH_DEFAULT
ARG SRC_PATH